]> git.saurik.com Git - apple/libc.git/blobdiff - locale/FreeBSD/nl_langinfo.3
Libc-763.11.tar.gz
[apple/libc.git] / locale / FreeBSD / nl_langinfo.3
index 3fc47e0ece4b92d0542553a91ee82c627b6b3e4c..1185739a8b5ecdfa7e7a400c2ab8d8377a876b30 100644 (file)
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/locale/nl_langinfo.3,v 1.5 2003/09/08 19:57:14 ru Exp $
+.\" $FreeBSD: src/lib/libc/locale/nl_langinfo.3,v 1.7 2009/11/16 14:33:31 brueffer Exp $
 .\"
 .Dd May 3, 2001
 .Dt NL_LANGINFO 3
@@ -53,18 +53,7 @@ with a category corresponding to the category of
 or to the
 category
 .Dv LC_ALL ,
-may overwrite buffer pointed by the return value.
-.Sh EXAMPLES
-For example:
-.Pp
-.Dl nl_langinfo(ABDAY_1)
-.Pp
-would return a pointer to the string
-.Qq Li Dom
-if the identified language was
-Portuguese, and
-.Qq Li Sun
-if the identified language was English.
+may overwrite the buffer pointed to by the return value.
 .Sh RETURN VALUES
 In a locale where langinfo data is not defined,
 .Fn nl_langinfo
@@ -76,6 +65,17 @@ In all locales,
 returns a pointer to an empty string if
 .Fa item
 contains an invalid setting.
+.Sh EXAMPLES
+For example:
+.Pp
+.Dl nl_langinfo(ABDAY_1)
+.Pp
+would return a pointer to the string
+.Qq Li Dom
+if the identified language was
+Portuguese, and
+.Qq Li Sun
+if the identified language was English.
 .Sh SEE ALSO
 .Xr setlocale 3
 .Sh STANDARDS