HP 9000 User Manual page 184

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

C
Table C-2. NLS Library Routines (continued)
Routine
HP-UX
Description
Reference Entry
nl_langinfo (nLitem
/anginfo(3C)
Returns a pointer to a null-terminated
item)
string containing information relevant
to a particular language or cultural
area defined in the program's locale
(see setlocale(3C)). The manifest
constant names and values of item are
defined in
1 anginf0 .h.
sprintf (char *s, const
printf(3C)
Places "output", followed by the null
char *format,
1*
character (\0), in consecutive bytes
[arg,]
*1 ...
)
starting at *s.
[It
is the user's
responsibility to ensure that enough
storage is available.] Converts, formats,
and prints its
[arg]
s under control of
the format.
sscanf (const char *s,
scanf(3C)
Reads characters from the character
const char *format,
1*
string s. Interprets them according to
[pointer,]
*1 ...
)
the control string format argument,
and stores the results in its
[pointer]
arguments.
SECof2(int c)
nLtoo/s-16(3C)
Takes a byte
c
and returns a non-zero
value if it can be the second byte of a
two-byte character according to the
loaded NLS environment, and zero if it
cannot.
setlocale( category,
setloca/e(3C)
Sets the program environment for the
locale)
specified category according to the
language definition table for the
specified locale.
strcoll(const char
string(3C)
Compares two strings, indicating if sl
*sl "
const char *s2)
is less than, greater than, or equal to
s2, according to the collating sequence
for the user's language.
NLS References C-11

Advertisement

Table of Contents
loading

Table of Contents