1 --- mbrlen.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ mbrlen.3 2009-11-09 15:05:25.000000000 -0800
10 .Nd "get number of bytes in a character (restartable)"
16 -.Fn mbrlen "const char * restrict s" "size_t n" "mbstate_t * restrict ps"
18 +.Fa "const char *restrict s"
20 +.Fa "mbstate_t *restrict ps"
26 +.Fa "const char *restrict s"
28 +.Fa "mbstate_t *restrict ps"
34 function inspects at most
40 to determine the number of bytes needed to complete the next
43 @@ -63,7 +77,7 @@ It is equivalent to:
45 .Dl "mbrtowc(NULL, s, n, ps);"
52 @@ -72,6 +86,14 @@ pointer,
53 uses its own static, internal
55 object to keep track of the shift state.
59 +function uses the current locale, the
61 +function may be passed a locale directly. See
63 +for more information.
67 @@ -137,7 +159,8 @@ The conversion state is invalid.