1 --- _SB/Libc/locale/FreeBSD/mbtowc.3 2004-11-25 11:38:18.000000000 -0800
2 +++ _SB/Libc/locale/FreeBSD/mbtowc.3.edit 2006-06-28 16:55:51.000000000 -0700
10 .Nd convert a character to a wide-character code
17 -.Fa "wchar_t * restrict wcharp" "const char * restrict mbchar"
19 +.Fa "wchar_t *restrict pwc"
20 +.Fa "const char *restrict s"
27 +.Fa "wchar_t *restrict pwc"
28 +.Fa "const char *restrict s"
35 function converts a multibyte character
37 -into a wide character according to the current conversion state,
39 +into a wide character, according to the current conversion state,
41 in the object pointed to by
52 pointer returns nonzero if the current encoding requires shift states,
54 if shift states are required, the shift state is reset to the initial state.
58 +function uses the current locale, the
60 +function may be passed a locale directly. See
62 +for more information.
76 is not a null pointer,
81 represents the null wide character, or returns
82 the number of bytes processed in
85 or returns \-1 if no multibyte character
86 could be recognized or converted.