1 --- wcsrtombs.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ wcsrtombs.3 2009-11-09 15:05:26.000000000 -0800
12 .Nd "convert a wide-character string to a character string (restartable)"
19 +.Fa "char *restrict dst"
20 +.Fa "const wchar_t **restrict src"
23 +.Fa "mbstate_t *restrict ps"
27 -.Fa "char * restrict dst" "const wchar_t ** restrict src"
28 -.Fa "size_t len" "mbstate_t * restrict ps"
29 +.Fa "char *restrict dst"
30 +.Fa "const wchar_t **restrict src"
32 +.Fa "mbstate_t *restrict ps"
38 -.Fa "char * restrict dst" "const wchar_t ** restrict src" "size_t nwc"
39 -.Fa "size_t len" "mbstate_t * restrict ps"
41 +.Fa "char *restrict dst"
42 +.Fa "const wchar_t **restrict src"
45 +.Fa "mbstate_t *restrict ps"
50 +.Fa "char *restrict dst"
51 +.Fa "const wchar_t **restrict src"
53 +.Fa "mbstate_t *restrict ps"
59 -function converts a string of wide characters indirectly pointed to by
61 -to a corresponding multibyte character string stored in the array
63 +function converts a string of wide characters,
64 +indirectly pointed to by
66 +to a corresponding multi-byte character string,
67 +stored in the array pointed to by
71 @@ -97,15 +124,28 @@ except that conversion stops after readi
73 characters from the buffer pointed to by
80 +functions use the current locale, the
84 +functions may be passed locales directly. See
86 +for more information.
93 functions return the number of bytes stored in
94 the array pointed to by
96 -(not including any terminating null), if successful, otherwise it returns
97 +(not including any terminating null);
98 +otherwise, they return
99 .Po Vt size_t Pc Ns \-1 .
102 @@ -122,7 +162,8 @@ The conversion state is invalid.