1.\" $OpenBSD: nl_langinfo.3,v 1.11 2015/10/24 13:32:18 bentley Exp $ 2.\" 3.\" Written by J.T. Conklin <jtc@netbsd.org>. 4.\" Public domain. 5.\" 6.Dd $Mdocdate: October 24 2015 $ 7.Dt NL_LANGINFO 3 8.Os 9.Sh NAME 10.Nm nl_langinfo 11.Nd get locale information 12.Sh SYNOPSIS 13.In langinfo.h 14.Ft char * 15.Fn nl_langinfo "nl_item item" 16.Sh DESCRIPTION 17The 18.Fn nl_langinfo 19function returns a pointer to a string containing information 20set by the program's locale. 21.Pp 22The names and values of 23.Fa item 24are defined in 25.In langinfo.h . 26.Sh RETURN VALUES 27.Fn nl_langinfo 28returns a pointer to an empty string if 29.Fa item 30is invalid. 31.Sh SEE ALSO 32.Xr setlocale 3 33.Sh STANDARDS 34The 35.Fn nl_langinfo 36function conforms to 37.St -p1003.1-2008 . 38