diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /lib/libc/locale/nl_langinfo.3 |
initial import of NetBSD tree
Diffstat (limited to 'lib/libc/locale/nl_langinfo.3')
-rw-r--r-- | lib/libc/locale/nl_langinfo.3 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3 new file mode 100644 index 00000000000..b2a955de7b0 --- /dev/null +++ b/lib/libc/locale/nl_langinfo.3 @@ -0,0 +1,33 @@ +.\" $NetBSD: nl_langinfo.3,v 1.2 1995/04/28 23:19:36 jtc Exp $ +.\" +.\" Written by J.T. Conklin <jtc@netbsd.org>. +.\" Public domain. +.\" +.Dd July 14, 1994 +.Dt NL_LANGINFO 3 +.Os +.Sh NAME +.Nm nl_langinfo +.Nd get locale information +.Sh SYNOPSIS +.Fd #include <nl_types.h> +.Fd #include <langinfo.h> +.Ft char * +.Fn getconf "nl_item item" +.Sh DESCRIPTION +The +.Fn nl_langinfo +function returns a pointer to a string containing information +set by the program's locale. +.Pp +The names and values of +.Fa item +are defined in +.Aq langinfo.h . +.Sh RETURN VALUE +.Fn nl_langinfo +returns a pointer to an empty string if +.Fa item +is invalid. +.Sh SEE ALSO +.Xr setlocale 3 |