1 --- mblen.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ mblen.3 2009-11-09 15:05:26.000000000 -0800
10 .Nd get number of bytes in a character
16 -.Fn mblen "const char *mbchar" "size_t nbytes"
32 -function computes the length in bytes
33 +function computes the length, in bytes,
34 of a multibyte character
37 according to the current conversion state.
46 pointer returns nonzero if the current locale requires shift states,
48 -if shift states are required, the shift state is reset to the initial state.
50 +If shift states are required, the shift state is reset to the initial state.
54 +function uses the current locale, the
56 +function may be passed a locale directly. See
58 +for more information.
66 @@ -72,14 +92,14 @@ function returns nonzero if shift states
72 is not a null pointer,
77 represents the null wide character, or returns
78 the number of bytes processed in
81 or returns \-1 if no multibyte character
82 could be recognized or converted.
84 @@ -98,7 +118,8 @@ The internal conversion state is not val