#include <nl_types.h> #include <langinfo.h>
char *nl_langinfo(item) nl_item item;
nl_langinfo() returns a pointer to a null-terminated string containing information relevant to a particular language or cultural area defined in the program's locale. The manifest constant names and values of item are defined in <langinfo.h> . For example:
nl_langinfo(ABDAY_1);
would return a pointer to the string `Dom' if the identified language was Portuguese, and `Sun' if the identified language was English.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97