Annotation of src/lib/libc/locale/nl_langinfo.3, Revision 1.3
1.3 ! jtc 1: .\" $NetBSD: nl_langinfo.3,v 1.2 1995/04/28 23:19:36 jtc Exp $
1.1 jtc 2: .\"
1.2 jtc 3: .\" Written by J.T. Conklin <jtc@netbsd.org>.
4: .\" Public domain.
1.1 jtc 5: .\"
6: .Dd July 14, 1994
7: .Dt NL_LANGINFO 3
8: .Os
9: .Sh NAME
10: .Nm nl_langinfo
11: .Nd get locale information
12: .Sh SYNOPSIS
13: .Fd #include <nl_types.h>
14: .Fd #include <langinfo.h>
15: .Ft char *
1.3 ! jtc 16: .Fn nl_langinfo "nl_item item"
1.1 jtc 17: .Sh DESCRIPTION
18: The
19: .Fn nl_langinfo
20: function returns a pointer to a string containing information
21: set by the program's locale.
22: .Pp
23: The names and values of
24: .Fa item
25: are defined in
26: .Aq langinfo.h .
27: .Sh RETURN VALUE
28: .Fn nl_langinfo
29: returns a pointer to an empty string if
30: .Fa item
31: is invalid.
32: .Sh SEE ALSO
33: .Xr setlocale 3
CVSweb <webmaster@jp.NetBSD.org>