NLAPPEND(3X)
NAME
nlappend − append the appropriate language identification to a valid MPE file name
SYNOPSIS
void nlappend(filename, langid, err)
char *filename;
short langid;
unsigned short err[2];
DESCRIPTION
This routine replaces the first three blanks found in filename with the language number. The purpose of nlappend is to identify the language of a file in an operating system-independent manner.
The arguments to nlappend are used as follows:
filename A string of up to eight ASCII characters terminated by three blanks.
langid A short integer specifying the language ID.
err The first element contains the error number. The second element is always zero. If the call is successful, both elements contain zero.
Error # Meaning
2 Specified language is not configured.
4 Filename is not terminated by 3 blanks.
WARNINGS
This routine is provided for compatibility with MPE, another HP operating system. See portnls(5) for more information on the use of this routine. Use the Native Language Support routines for C programmers described on hpnls(5) for HP-UX NLS support.
AUTHOR
Nlappend was developed by HP.
SEE ALSO
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989