1.\" $NetBSD: nl_langinfo.3,v 1.2 1995/04/28 23:19:36 jtc Exp $ 2.\" 3.\" Written by J.T. Conklin <jtc@netbsd.org>. 4.\" Public domain. 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 * 16.Fn getconf "nl_item item" 17.Sh DESCRIPTION 18The 19.Fn nl_langinfo 20function returns a pointer to a string containing information 21set by the program's locale. 22.Pp 23The names and values of 24.Fa item 25are defined in 26.Aq langinfo.h . 27.Sh RETURN VALUE 28.Fn nl_langinfo 29returns a pointer to an empty string if 30.Fa item 31is invalid. 32.Sh SEE ALSO 33.Xr setlocale 3 34