NetBSD/lib/libc/locale/nl_langinfo.3

34 lines
656 B
Groff
Raw Normal View History

1996-02-14 22:21:54 +03:00
.\" $NetBSD: nl_langinfo.3,v 1.3 1996/02/14 19:21:54 jtc Exp $
1994-07-16 09:12:26 +04:00
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
1994-07-16 09:12:26 +04:00
.\"
.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 *
1996-02-14 22:21:54 +03:00
.Fn nl_langinfo "nl_item item"
1994-07-16 09:12:26 +04:00
.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