nl_langinfo(S) 6 January 1993 nl_langinfo(S) Name nl_langinfo - language information Syntax cc ... -lintl #include <nl_types.h> #include <langinfo.h> char *nl_langinfo (item) nl_item item; Description The nllanginfo routine returns a pointer to a null terminated string that contains information relevant to a particular language or cultural area identified by the last successful call to setlocale or nlinit. The constant names and values of item are defined in the file langinfo.h. Example The following statement sets a character pointer called day to point to the string Dom if the identified language is Portuguese or Sun if the identified language is English. day = nl_langinfo(ABDAY_1) If the parameter is not a valid item, nllanginfo returns a pointer to an empty (null) string. See also environ(M), langinfo(FP), nlinit(S), nltypes(FP), setlocale(S) Standards conformance nllanginfo is an extension of AT&T System V provided by the Santa Cruz Operation.