xref: /dflybsd-src/lib/libc/locale/nextwctype.3 (revision 0d5acd7467c4e95f792ef49fceb3ab8e917ce86b)
1*0d5acd74SJohn Marino.\"
2*0d5acd74SJohn Marino.\" Copyright (c) 2004 Tim J. Robbins
3*0d5acd74SJohn Marino.\" All rights reserved.
4*0d5acd74SJohn Marino.\"
5*0d5acd74SJohn Marino.\" Redistribution and use in source and binary forms, with or without
6*0d5acd74SJohn Marino.\" modification, are permitted provided that the following conditions
7*0d5acd74SJohn Marino.\" are met:
8*0d5acd74SJohn Marino.\" 1. Redistributions of source code must retain the above copyright
9*0d5acd74SJohn Marino.\"    notice, this list of conditions and the following disclaimer.
10*0d5acd74SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright
11*0d5acd74SJohn Marino.\"    notice, this list of conditions and the following disclaimer in the
12*0d5acd74SJohn Marino.\"    documentation and/or other materials provided with the distribution.
13*0d5acd74SJohn Marino.\"
14*0d5acd74SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*0d5acd74SJohn Marino.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*0d5acd74SJohn Marino.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*0d5acd74SJohn Marino.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*0d5acd74SJohn Marino.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*0d5acd74SJohn Marino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*0d5acd74SJohn Marino.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*0d5acd74SJohn Marino.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*0d5acd74SJohn Marino.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*0d5acd74SJohn Marino.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*0d5acd74SJohn Marino.\" SUCH DAMAGE.
25*0d5acd74SJohn Marino.\"
26*0d5acd74SJohn Marino.\" $FreeBSD: head/lib/libc/locale/nextwctype.3 148232 2005-07-21 10:27:45Z tjr $
27*0d5acd74SJohn Marino.\"
28*0d5acd74SJohn Marino.Dd July 21, 2005
29*0d5acd74SJohn Marino.Dt NEXTWCTYPE 3
30*0d5acd74SJohn Marino.Os
31*0d5acd74SJohn Marino.Sh NAME
32*0d5acd74SJohn Marino.Nm nextwctype
33*0d5acd74SJohn Marino.Nd "iterate through character classes"
34*0d5acd74SJohn Marino.Sh LIBRARY
35*0d5acd74SJohn Marino.Lb libc
36*0d5acd74SJohn Marino.Sh SYNOPSIS
37*0d5acd74SJohn Marino.In wctype.h
38*0d5acd74SJohn Marino.Ft wint_t
39*0d5acd74SJohn Marino.Fn nextwctype "wint_t ch" "wctype_t wct"
40*0d5acd74SJohn Marino.Sh DESCRIPTION
41*0d5acd74SJohn MarinoThe
42*0d5acd74SJohn Marino.Fn nextwctype
43*0d5acd74SJohn Marinofunction determines the next character after
44*0d5acd74SJohn Marino.Fa ch
45*0d5acd74SJohn Marinothat is a member of character class
46*0d5acd74SJohn Marino.Fa wct .
47*0d5acd74SJohn MarinoIf
48*0d5acd74SJohn Marino.Fa ch
49*0d5acd74SJohn Marinois \-1, the search begins at the first member of
50*0d5acd74SJohn Marino.Fa wct .
51*0d5acd74SJohn Marino.Sh RETURN VALUES
52*0d5acd74SJohn MarinoThe
53*0d5acd74SJohn Marino.Fn nextwctype
54*0d5acd74SJohn Marinofunction returns the next character, or \-1 if there are no more.
55*0d5acd74SJohn Marino.Sh COMPATIBILITY
56*0d5acd74SJohn MarinoThis function is a non-standard
57*0d5acd74SJohn Marino.Fx
58*0d5acd74SJohn Marinoextension and should not be used where the standard
59*0d5acd74SJohn Marino.Fn iswctype
60*0d5acd74SJohn Marinofunction would suffice.
61*0d5acd74SJohn Marino.Sh SEE ALSO
62*0d5acd74SJohn Marino.Xr wctype 3
63*0d5acd74SJohn Marino.Sh HISTORY
64*0d5acd74SJohn MarinoThe
65*0d5acd74SJohn Marino.Fn nextwctype
66*0d5acd74SJohn Marinofunction appeared in
67*0d5acd74SJohn Marino.Fx 5.4 .
68