nl_langinfo(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
NL_LANGINFO(3)            NetBSD Programmer's Manual            NL_LANGINFO(3)


NAME
nl_langinfo - get locale information
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <langinfo.h> char * nl_langinfo(nl_item item);
DESCRIPTION
The nl_langinfo() function returns a pointer to a string containing in- formation set by the program's locale. The names and values of item are defined in <langinfo.h>.
RETURN VALUE
nl_langinfo() returns a pointer to an empty string if item is invalid.
SEE ALSO
setlocale(3) NetBSD 1.5 July 14, 1994 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.