X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff..15de9d6b4ab2de27ae24b13b7b6c4d55fffe4aef:/locale/FreeBSD/setlocale.3 diff --git a/locale/FreeBSD/setlocale.3 b/locale/FreeBSD/setlocale.3 index b09dbb5..6d3be03 100644 --- a/locale/FreeBSD/setlocale.3 +++ b/locale/FreeBSD/setlocale.3 @@ -12,10 +12,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -33,7 +29,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)setlocale.3 8.1 (Berkeley) 6/9/93 -.\" $FreeBSD: src/lib/libc/locale/setlocale.3,v 1.33 2004/10/17 06:51:50 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/setlocale.3,v 1.35 2007/01/09 00:28:00 imp Exp $ .\" .Dd November 21, 2003 .Dt SETLOCALE 3 @@ -46,7 +42,10 @@ .Sh SYNOPSIS .In locale.h .Ft char * -.Fn setlocale "int category" "const char *locale" +.Fo setlocale +.Fa "int category" +.Fa "const char *locale" +.Fc .Sh DESCRIPTION The .Fn setlocale @@ -105,14 +104,14 @@ Set a locale for formatting dates and times using the function. .El .Pp -Only three locales are defined by default, +Only three locales are defined by default: the empty string .Li "\&""\|"" -which denotes the native environment, and the +(which denotes the native environment) and the .Li "\&""C"" and .Li "\&""POSIX"" -locales, which denote the C language environment. +locales (which denote the C-language environment). A .Fa locale argument of @@ -143,8 +142,6 @@ if the given combination of and .Fa locale makes no sense. -.Sh ERRORS -No errors are defined. .Sh FILES .Bl -tag -width /usr/share/locale/locale/category -compact .It Pa $PATH_LOCALE/ Ns Em locale/category @@ -154,6 +151,8 @@ locale file for the locale and the category .Em category . .El +.Sh ERRORS +No errors are defined. .Sh SEE ALSO .Xr colldef 1 , .Xr mklocale 1 ,