]>
Commit | Line | Data |
---|---|---|
3d9156a7 A |
1 | --- mbsinit.3.orig Fri Mar 11 19:44:47 2005 |
2 | +++ mbsinit.3 Fri Mar 11 19:55:14 2005 | |
3 | @@ -28,7 +28,8 @@ | |
4 | .Dt MBSINIT 3 | |
5 | .Os | |
6 | .Sh NAME | |
7 | -.Nm mbsinit | |
8 | +.Nm mbsinit , | |
9 | +.Nm mbsinit_l | |
10 | .Nd "determine conversion object status" | |
11 | .Sh LIBRARY | |
12 | .Lb libc | |
13 | @@ -36,6 +37,9 @@ | |
14 | .In wchar.h | |
15 | .Ft int | |
16 | .Fn mbsinit "const mbstate_t *ps" | |
17 | +.In xlocale.h | |
18 | +.Ft int | |
19 | +.Fn mbsinit_l "const mbstate_t *ps" "locale_t loc" | |
20 | .Sh DESCRIPTION | |
21 | The | |
22 | .Fn mbsinit | |
23 | @@ -44,6 +48,14 @@ | |
24 | object pointed to by | |
25 | .Fa ps | |
26 | describes an initial conversion state. | |
27 | +.Pp | |
28 | +While the | |
29 | +.Fn mbsinit | |
30 | +function uses the current locale, the | |
31 | +.Fn mbsinit_l | |
32 | +function may be passed a locale directly. See | |
33 | +.Xr xlocale 3 | |
34 | +for more information. | |
35 | .Sh RETURN VALUES | |
36 | The | |
37 | .Fn mbsinit | |
38 | @@ -59,7 +71,8 @@ | |
39 | .Xr mbsrtowcs 3 , | |
40 | .Xr multibyte 3 , | |
41 | .Xr wcrtomb 3 , | |
42 | -.Xr wcsrtombs 3 | |
43 | +.Xr wcsrtombs 3 , | |
44 | +.Xr xlocale 3 | |
45 | .Sh STANDARDS | |
46 | The | |
47 | .Fn mbsinit |