1 --- mbrtowc.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ mbrtowc.3 2009-11-09 15:05:25.000000000 -0800
10 .Nd "convert a character to a wide-character code (restartable)"
17 -.Fa "wchar_t * restrict pwc" "const char * restrict s" "size_t n"
18 -.Fa "mbstate_t * restrict ps"
19 +.Fa "wchar_t *restrict pwc"
20 +.Fa "const char *restrict s"
22 +.Fa "mbstate_t *restrict ps"
28 +.Fa "wchar_t *restrict pwc"
29 +.Fa "const char *restrict s"
31 +.Fa "mbstate_t *restrict ps"
37 function inspects at most
43 to determine the number of bytes needed to complete the next multibyte
45 If a character can be completed, and
46 @@ -65,14 +78,14 @@ is
65 @@ -86,6 +99,14 @@ uses an internal, static
67 object, which is initialized to the initial conversion state
72 +function uses the current locale, the
74 +function may be passed a locale directly. See
76 +for more information.
80 @@ -131,7 +152,8 @@ The conversion state is invalid.