1 --- mbstowcs.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ mbstowcs.3 2009-11-09 15:05:26.000000000 -0800
10 .Nd convert a character string to a wide-character string
17 -.Fa "wchar_t * restrict wcstring" "const char * restrict mbstring"
19 +.Fa "wchar_t *restrict pwcs"
20 +.Fa "const char *restrict s"
27 +.Fa "wchar_t *restrict pwcs"
28 +.Fa "const char *restrict s"
35 function converts a multibyte character string
37 -beginning in the initial conversion state
39 +beginning in the initial conversion state,
40 into a wide character string
46 wide characters are stored.
47 -A terminating null wide character is appended if there is room.
48 +A terminating null wide character is appended, if there is room.
52 +function uses the current locale, the
54 +function may be passed a locale directly. See
56 +for more information.
60 @@ -79,7 +98,8 @@ The conversion state is invalid.