*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> nl_langinfo (3)              



NAME    [Toc]    [Back]

     nl_langinfo - get locale information

SYNOPSIS    [Toc]    [Back]

     #include <nl_types.h>
     #include <langinfo.h>

     char *
     nl_langinfo(nl_item item);

DESCRIPTION    [Toc]    [Back]

     The nl_langinfo() function returns a  pointer  to  a  string
containing information
 set by the program's locale.

     The names and values of item are defined in <langinfo.h>.

RETURN VALUES    [Toc]    [Back]

     nl_langinfo()  returns  a pointer to an empty string if item
is invalid.

SEE ALSO    [Toc]    [Back]


OpenBSD     3.6                           July      14,      1994
[ Back ]
 Similar pages
Name OS Title
locale Linux Get locale-specific information.
locale FreeBSD get locale-specific information
locale HP-UX get locale-specific (NLS) information
locale IRIX get locale-specific information
nl_langinfo Linux query language and locale information
localedef Tru64 Builds a locale from locale and character map source files
setlocale Linux set the current locale.
localedef IRIX define locale environment
iplang IRIX changes a user's locale setting.
localedef HP-UX generate a locale environment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service