Query: nl_langinfo
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
nl_langinfo(3C) nl_langinfo(3C)NAMEnl_langinfo() - language informationSYNOPSISDESCRIPTIONreturns a pointer to a null-terminated string containing information relevant to a particular language or cultural area defined in the pro- gram's locale (see setlocale(3C)). The manifest constant names and values of are defined in For example: returns a pointer to the string ``Dom'' if the language identified by the current locale is pt_PT.iso88591, and ``Su'' if the identified language is fi_FI.iso88591. If an invalid is specified, a pointer to an empty string is returned. An empty string can also be returned for a valid if that item is not applicable to the language or customs of the current locale. For example, a thousands separator is not used when writing numbers according to the customs associated with the Arabic language.EXTERNAL INFLUENCESLocale The string returned for a particular is determined by the locale category specified for that item in langinfo(5). International Code Set Support Single- and multi-byte character code sets are supported.WARNINGSreturns a pointer to a static area that is overwritten on each call.AUTHORwas developed by OSF and HP.SEE ALSOlocaleconv(3C), setlocale(3C), lang(5), langinfo(5).STANDARDS CONFORMANCEnl_langinfo(3C)