wctype.3 (107392) | wctype.3 (127477) |
---|---|
1.\" Copyright (c) 2002 Tim J. Robbins 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2002 Tim J. Robbins 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/lib/libc/locale/wctype.3 107392 2002-11-29 17:35:09Z ru $ | 25.\" $FreeBSD: head/lib/libc/locale/wctype.3 127477 2004-03-27 08:59:21Z tjr $ |
26.\" | 26.\" |
27.Dd October 3, 2002 | 27.Dd March 27, 2004 |
28.Dt WCTYPE 3 29.Os 30.Sh NAME 31.Nm iswctype , wctype 32.Nd "wide character class functions" 33.Sh LIBRARY 34.Lb libc 35.Sh SYNOPSIS --- 7 unchanged lines hidden (view full) --- 43.Fn wctype 44function returns a value of type 45.Vt wctype_t 46which represents the requested wide character class and 47may be used as the second argument for calls to 48.Fn iswctype . 49.Pp 50The following character class names are recognised: | 28.Dt WCTYPE 3 29.Os 30.Sh NAME 31.Nm iswctype , wctype 32.Nd "wide character class functions" 33.Sh LIBRARY 34.Lb libc 35.Sh SYNOPSIS --- 7 unchanged lines hidden (view full) --- 43.Fn wctype 44function returns a value of type 45.Vt wctype_t 46which represents the requested wide character class and 47may be used as the second argument for calls to 48.Fn iswctype . 49.Pp 50The following character class names are recognised: |
51.Bl -column -offset indent ".Li alnum" ".Li cntrl" ".Li phonogram" ".Li print" ".Li special" 52.It Li "alnum cntrl ideogram print special" 53.It Li "alpha digit lower punct upper" 54.It Li "blank graph phonogram space xdigit" | 51.Bl -column -offset indent ".Li alnum" ".Li cntrl" ".Li ideogram" ".Li print" ".Li space" 52.It Li "alnum cntrl ideogram print space xdigit" 53.It Li "alpha digit lower punct special" 54.It Li "blank graph phonogram rune upper" |
55.El 56.Pp 57The 58.Fn iswctype 59function checks whether the wide character 60.Fa wc 61is in the character class 62.Fa charclass . --- 37 unchanged lines hidden (view full) --- 100.Fn iswctype 101and 102.Fn wctype 103functions conform to 104.St -p1003.1-2001 . 105The 106.Dq Li ideogram , 107.Dq Li phonogram | 55.El 56.Pp 57The 58.Fn iswctype 59function checks whether the wide character 60.Fa wc 61is in the character class 62.Fa charclass . --- 37 unchanged lines hidden (view full) --- 100.Fn iswctype 101and 102.Fn wctype 103functions conform to 104.St -p1003.1-2001 . 105The 106.Dq Li ideogram , 107.Dq Li phonogram |
108.Dq Li special , |
|
108and | 109and |
109.Dq Li special | 110.Dq Li rune |
110character classes are extensions. 111.Sh HISTORY 112The 113.Fn iswctype 114and 115.Fn wctype 116functions first appeared in 117.Fx 5.0 . | 111character classes are extensions. 112.Sh HISTORY 113The 114.Fn iswctype 115and 116.Fn wctype 117functions first appeared in 118.Fx 5.0 . |