diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-03-27 08:59:21 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-03-27 08:59:21 +0000 |
| commit | 97062607cd678f1a0455772df9312d48ed69ba35 (patch) | |
| tree | 4ce7b6ed2c478560460bb77955b5cf4cf6662662 /lib/libc | |
| parent | 0b68054f9dbd675b6737113358174dffcf4a08be (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/locale/wctype.3 | 13 | ||||
| -rw-r--r-- | lib/libc/locale/wctype.c | 1 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/locale/wctype.3 b/lib/libc/locale/wctype.3 index 9ea2b30fb24b..6dec7bbef3d6 100644 --- a/lib/libc/locale/wctype.3 +++ b/lib/libc/locale/wctype.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 3, 2002 +.Dd March 27, 2004 .Dt WCTYPE 3 .Os .Sh NAME @@ -48,10 +48,10 @@ may be used as the second argument for calls to .Fn iswctype . .Pp The following character class names are recognised: -.Bl -column -offset indent ".Li alnum" ".Li cntrl" ".Li phonogram" ".Li print" ".Li special" -.It Li "alnum cntrl ideogram print special" -.It Li "alpha digit lower punct upper" -.It Li "blank graph phonogram space xdigit" +.Bl -column -offset indent ".Li alnum" ".Li cntrl" ".Li ideogram" ".Li print" ".Li space" +.It Li "alnum cntrl ideogram print space xdigit" +.It Li "alpha digit lower punct special" +.It Li "blank graph phonogram rune upper" .El .Pp The @@ -105,8 +105,9 @@ functions conform to The .Dq Li ideogram , .Dq Li phonogram +.Dq Li special , and -.Dq Li special +.Dq Li rune character classes are extensions. .Sh HISTORY The diff --git a/lib/libc/locale/wctype.c b/lib/libc/locale/wctype.c index 5646de57f842..f9aa8dd2fe48 100644 --- a/lib/libc/locale/wctype.c +++ b/lib/libc/locale/wctype.c @@ -61,6 +61,7 @@ wctype(const char *property) { "ideogram", _CTYPE_I }, /* BSD extension */ { "special", _CTYPE_T }, /* BSD extension */ { "phonogram", _CTYPE_Q }, /* BSD extension */ + { "rune", 0xFFFFFF00L }, /* BSD extension */ { NULL, 0UL }, /* Default */ }; int i; |
