]> pd.if.org Git - pdclib/blobdiff - man3/mbsinit.3
dos2unix
[pdclib] / man3 / mbsinit.3
index 7e84ae11a68fed1f6cb8992d1c4685db093fa6a8..8c8e5443fd7c1827a699ab2b741d6c645c7a6dd9 100644 (file)
@@ -1,58 +1,58 @@
-.\" 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 MBSINIT 3\r
-.Os\r
-.\"\r
-.Sh NAME\r
-.Nm mbsinit\r
-.Nd determines multibyte conversion state\r
-.\"\r
-.Sh SYNOPSIS\r
-.In wchar.h\r
-.Fn "int mbsinit" "const mbstate_t *ps"\r
-.In xlocale.h\r
-.Fn "int mbsinit_l" "const mbstate_t *ps" "locale_t loc"\r
-.\"\r
-.Sh DESCRIPTION\r
-.Fn mbsinit \r
-and\r
-.Fn mbsinit_l \r
-shall return a nonzero value if the multibyte converison state pointed to by\r
-.Va ps\r
-corresponds to an initial conversion state. The interpretation of \r
-.Va *ps\r
-is locale dependent; the only guarantee is that an\r
-.Vt mbstate_t\r
-object initialized to zero shall correspond to an initial conversion state. If\r
-.Va ps\r
-is\r
-.Dv NULL ,\r
-then a nonzero value shall be returned.\r
-.\"\r
-.Pp\r
-The locale used for \r
-.Fn mbsinit\r
-shall be the currently active locale; either the current thread locale as set by\r
-.Xr uselocale 3\r
-if one has been specified, or otherwise the global locale controlled by\r
-.Xr setlocale 3 .\r
-The locale used by \r
-.Fn mbsinit_l\r
-is that specified by\r
-.Va loc .\r
-.\"\r
-.Sh SEE ALSO\r
-.Xr mbrtowc 3\r
-.Xr wcrtomb 3\r
-.Xr setlocale 3\r
-.Xr uselocale 3\r
-.\"\r
-.Sh STANDARDS\r
-.Fn mbsinit\r
-is first defined in\r
-.St -isoC-amd1 ;\r
-.Fn mbsinit_l\r
-is a nonstandard extension originating in Darwin. See\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 MBSINIT 3
+.Os
+.\"
+.Sh NAME
+.Nm mbsinit
+.Nd determines multibyte conversion state
+.\"
+.Sh SYNOPSIS
+.In wchar.h
+.Fn "int mbsinit" "const mbstate_t *ps"
+.In xlocale.h
+.Fn "int mbsinit_l" "const mbstate_t *ps" "locale_t loc"
+.\"
+.Sh DESCRIPTION
+.Fn mbsinit 
+and
+.Fn mbsinit_l 
+shall return a nonzero value if the multibyte converison state pointed to by
+.Va ps
+corresponds to an initial conversion state. The interpretation of 
+.Va *ps
+is locale dependent; the only guarantee is that an
+.Vt mbstate_t
+object initialized to zero shall correspond to an initial conversion state. If
+.Va ps
+is
+.Dv NULL ,
+then a nonzero value shall be returned.
+.\"
+.Pp
+The locale used for 
+.Fn mbsinit
+shall be the currently active locale; either the current thread locale as set by
+.Xr uselocale 3
+if one has been specified, or otherwise the global locale controlled by
+.Xr setlocale 3 .
+The locale used by 
+.Fn mbsinit_l
+is that specified by
+.Va loc .
+.\"
+.Sh SEE ALSO
+.Xr mbrtowc 3
+.Xr wcrtomb 3
+.Xr setlocale 3
+.Xr uselocale 3
+.\"
+.Sh STANDARDS
+.Fn mbsinit
+is first defined in
+.St -isoC-amd1 ;
+.Fn mbsinit_l
+is a nonstandard extension originating in Darwin. See
 .Xr xlocale.h 3
\ No newline at end of file