[BACK]Return to nl_langinfo.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / locale

File: [cvs.NetBSD.org] / src / lib / libc / locale / nl_langinfo.3 (download)

Revision 1.3, Wed Feb 14 19:21:54 1996 UTC (28 years, 2 months ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, ivory_soap2
Changes since 1.2: +2 -2 lines

Fix embarassing typo

.\"	$NetBSD: nl_langinfo.3,v 1.3 1996/02/14 19:21:54 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 nl_langinfo "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