nlappend(3X)
NAME
nlappend() − append the appropriate language identification to a valid MPE file name
SYNOPSIS
#include <portnls.h>
void nlappend(
char *filename,
short int langid,
unsigned short int err[2]
);
DESCRIPTION
nlappend() replaces the first three blanks found in filename with the language number. Its purpose is to identify the language of a file in an operating system-independent manner.
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, a proprietary 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 by 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 9.0: August 1992