NEXTWCTYPE(3) | MidnightBSD Library Functions Manual | NEXTWCTYPE(3) |
nextwctype
—
iterate through character classes
Standard C Library (libc, -lc)
#include
<wctype.h>
wint_t
nextwctype
(wint_t
ch, wctype_t
wct);
The
nextwctype
()
function determines the next character after ch that
is a member of character class wct. If
ch is -1, the search begins at the first member of
wct.
The nextwctype
() function returns the next
character, or -1 if there are no more.
This function is a non-standard FreeBSD
extension and should not be used where the standard
iswctype
() function would suffice.
The nextwctype
() function appeared in
FreeBSD 5.4.
July 21, 2005 | midnightbsd-3.1 |