]> pd.if.org Git - pdclib/blobdiff - man3/setlocale.3
dos2unix
[pdclib] / man3 / setlocale.3
index 42eb915b2a9703091828d4ac106abd93e8d5972c..44225a6152f23dd0dee7244fe2aa26f8362f3f59 100644 (file)
@@ -1,83 +1,83 @@
-.\" This file is part of the Public Domain C Library (PDCLib).\r
-.\" Permission is granted to use, modify, and / or redistribute at will.\r
-.\"\r
-.Dd\r
-.Dt setlocale 3\r
-.Os\r
-.\"\r
-.Sh NAME\r
-.Nm setlocale\r
-.Nd Set the application global locale\r
-.\"\r
-.Sh SYNOPSIS\r
-.In locale.h\r
-.Fn "char *setlocale" "int category" "const char * locale"\r
-.\"\r
-.Sh DESCRIPTION\r
-The ISO C standards define an application global locale, which all \r
-locale-dependent functions implicitly use.\r
-.Fn setlocale\r
-may be used to change this locale.\r
-.Pp\r
-The locale is defined to be comprised of several categories; the category \r
-parameter specifies which category of the global locale to change, and takes one\r
-of the following values:\r
-.Bl -tag\r
-.It Dv LC_ALL\r
-Modifies all categories\r
-.It Dv LC_COLLATE\r
-Changes the string collation order; affects \r
-.Fn strcoll\r
-and\r
-.Fn strxfrm .\r
-.It Dv LC_CTYPE\r
-Affects the behaviour of the character handling functions defined in\r
-.In ctype.h ,\r
-excluding \r
-.Fn isdigit\r
-and\r
-.Fn isxdigit .\r
-.It Dv LC_MONETARY\r
-Controls the currency-related information returned by\r
-.Fn localeconv .\r
-.It Dv LC_NUMERIC\r
-Controls the decimal point character used by the number formatting functions,\r
-plus the nonmonetary information returned by \r
-.Fn localeconv .\r
-.It Dv LC_TIME\r
-Controls the formatting used by the\r
-.Fn strftime\r
-and\r
-.Fn wcsftime\r
-functions.\r
-.El\r
-.Pp\r
-.St -p1003.1-2008\r
-defines the\r
-.Fn uselocale\r
-function which controls the locale of the present thread. If the thread locale\r
-has been modified using the \r
-.Fn uselocale\r
-function, and has not been reset to the global locale by invoking\r
-.Fn uselocale\r
-with\r
-.Dv LC_GLOBAL_LOCALE\r
-as its parameter, then the\r
-.Fn setlocale\r
-function will not affect the result of functions invoked on the current thread.\r
-.\"\r
-.Sh IMPLEMENTATION NOTES\r
-None\r
-.\"\r
-.Sh SEE ALSO\r
-.Xr lconv 3\r
-.Xr uselocale 3\r
-.Xr duplocale 3\r
-.Xr freelocale 3\r
-.\"\r
-.Sh STANDARDS\r
-Conforming to\r
-.St -isoC-amd1 ,\r
-.St -isoC-99 ,\r
-.St -isoC-2011 ,\r
+.\" This file is part of the Public Domain C Library (PDCLib).
+.\" Permission is granted to use, modify, and / or redistribute at will.
+.\"
+.Dd
+.Dt setlocale 3
+.Os
+.\"
+.Sh NAME
+.Nm setlocale
+.Nd Set the application global locale
+.\"
+.Sh SYNOPSIS
+.In locale.h
+.Fn "char *setlocale" "int category" "const char * locale"
+.\"
+.Sh DESCRIPTION
+The ISO C standards define an application global locale, which all 
+locale-dependent functions implicitly use.
+.Fn setlocale
+may be used to change this locale.
+.Pp
+The locale is defined to be comprised of several categories; the category 
+parameter specifies which category of the global locale to change, and takes one
+of the following values:
+.Bl -tag
+.It Dv LC_ALL
+Modifies all categories
+.It Dv LC_COLLATE
+Changes the string collation order; affects 
+.Fn strcoll
+and
+.Fn strxfrm .
+.It Dv LC_CTYPE
+Affects the behaviour of the character handling functions defined in
+.In ctype.h ,
+excluding 
+.Fn isdigit
+and
+.Fn isxdigit .
+.It Dv LC_MONETARY
+Controls the currency-related information returned by
+.Fn localeconv .
+.It Dv LC_NUMERIC
+Controls the decimal point character used by the number formatting functions,
+plus the nonmonetary information returned by 
+.Fn localeconv .
+.It Dv LC_TIME
+Controls the formatting used by the
+.Fn strftime
+and
+.Fn wcsftime
+functions.
+.El
+.Pp
+.St -p1003.1-2008
+defines the
+.Fn uselocale
+function which controls the locale of the present thread. If the thread locale
+has been modified using the 
+.Fn uselocale
+function, and has not been reset to the global locale by invoking
+.Fn uselocale
+with
+.Dv LC_GLOBAL_LOCALE
+as its parameter, then the
+.Fn setlocale
+function will not affect the result of functions invoked on the current thread.
+.\"
+.Sh IMPLEMENTATION NOTES
+None
+.\"
+.Sh SEE ALSO
+.Xr lconv 3
+.Xr uselocale 3
+.Xr duplocale 3
+.Xr freelocale 3
+.\"
+.Sh STANDARDS
+Conforming to
+.St -isoC-amd1 ,
+.St -isoC-99 ,
+.St -isoC-2011 ,
 .St -p1003.1-2008 .
\ No newline at end of file