NL_LANGINFO(3)            OpenBSD Programmer's Manual           NL_LANGINFO(3)

NAME
     nl_langinfo - get locale information

SYNOPSIS
     #include <nl_types.h>
     #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 VALUES
     nl_langinfo() returns a pointer to an empty string if item is invalid.

SEE ALSO
     setlocale(3)

OpenBSD 4.0                      July 14, 1994                               1
