ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



NEXTWCTYPE(3)            BSD Library Functions Manual            NEXTWCTYPE(3)

NAME
     nextwctype, nextwctype_l -- iterate through character classes

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <wctype.h>

     wint_t
     nextwctype(wint_t ch, wctype_t wct);

     #include <xlocale.h>

     wint_t
     nextwctype_l(wint_t ch, wctype_t wct, locale_t loc);

DESCRIPTION
     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.

     While the nextwctype() function uses the current locale, the nextwctype_l() function may be passed a
     locale directly. See xlocale(3) for more information.

RETURN VALUES
     The nextwctype() functions returns the next character, or -1 if there are no more.

SEE ALSO
     wctype(3), xlocale(3)

BSD                              July 8, 2004                              BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.