diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-09 10:21:01 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-09 10:21:01 +0000 |
| commit | 7183f43d9543e724830f9895f32fd681be00b776 (patch) | |
| tree | 5ec0566eb5ffcaf2f2ca34ea574fbbdd12e56e78 /lib/libc | |
| parent | f4937dbebcd0080c3bdf48e68a7c8bb4eebd0642 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/locale/mbrlen.3 | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lib/libc/locale/mbrlen.3 b/lib/libc/locale/mbrlen.3 index d7d5b1c91fc5..d9d522f84480 100644 --- a/lib/libc/locale/mbrlen.3 +++ b/lib/libc/locale/mbrlen.3 @@ -23,7 +23,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd October 4, 2002 +.Dd November 11, 2002 .Dt MBRLEN 3 .Os .Sh NAME @@ -40,7 +40,22 @@ The .Fn mbrlen function determines the the number of bytes constituting the multibyte character sequence pointed to by -.Fa s . +.Fa s , +examining at most +.Fa n +bytes. +.Pp +The +.Ft mbstate_t +argument, +.Fa ps , +is used to keep track of the shift state. +If it is +.Dv NULL , +.Fn mbrlen +uses an internal, static +.Ft mbstate_t +object. .Pp It is equivalent to: .Pp |
