1 --- mbsrtowcs.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ mbsrtowcs.3 2009-11-09 15:05:26.000000000 -0800
12 .Nd "convert a character string to a wide-character string (restartable)"
19 +.Fa "wchar_t *restrict dst"
20 +.Fa "const char **restrict src"
23 +.Fa "mbstate_t *restrict ps"
27 -.Fa "wchar_t * restrict dst" "const char ** restrict src" "size_t len"
28 -.Fa "mbstate_t * restrict ps"
29 +.Fa "wchar_t *restrict dst"
30 +.Fa "const char **restrict src"
32 +.Fa "mbstate_t *restrict ps"
38 -.Fa "wchar_t * restrict dst" "const char ** restrict src" "size_t nms"
39 -.Fa "size_t len" "mbstate_t * restrict ps"
41 +.Fa "wchar_t *restrict dst"
42 +.Fa "const char **restrict src"
44 +.Fa "mbstate_t *restrict ps"
49 +.Fa "wchar_t *restrict dst"
50 +.Fa "const char **restrict src"
53 +.Fa "mbstate_t *restrict ps"
59 -function converts a sequence of multibyte characters pointed to indirectly by
61 -into a sequence of corresponding wide characters and stores at most
62 +function converts a sequence of multibyte characters, pointed to indirectly by
64 +into a sequence of corresponding wide characters. It stores at most
68 @@ -97,6 +123,18 @@ except that conversion stops after readi
70 bytes from the buffer pointed to by
77 +functions use the current locale, the
81 +functions may be passed locales directly. See
83 +for more information.
87 @@ -123,7 +161,8 @@ The conversion state is invalid.