Mac Developer Library Developer
Search

 

This manual page is part of Xcode Tools version 5.0

To obtain these tools:

If you are running a version of Xcode Tools other than 5.0, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.




ISWALNUM(3)              BSD Library Functions Manual              ISWALNUM(3)

NAME
     iswalnum, iswalpha, iswascii, iswblank, iswcntrl, iswdigit, iswgraph, iswhexnumber, iswideogram,
     iswlower, iswnumber, iswphonogram, iswprint, iswpunct, iswrune, iswspace, iswspecial, iswupper,
     iswxdigit -- wide character classification utilities

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <wctype.h>

     int
     iswalnum(wint_t wc);

     int
     iswalpha(wint_t wc);

     int
     iswascii(wint_t wc);

     int
     iswblank(wint_t wc);

     int
     iswcntrl(wint_t wc);

     int
     iswdigit(wint_t wc);

     int
     iswgraph(wint_t wc);

     int
     iswhexnumber(wint_t wc);

     int
     iswideogram(wint_t wc);

     int
     iswlower(wint_t wc);

     int
     iswnumber(wint_t wc);

     int
     iswphonogram(wint_t wc);

     int
     iswprint(wint_t wc);

     int
     iswpunct(wint_t wc);

     int
     iswrune(wint_t wc);

     int
     iswspace(wint_t wc);

     int
     iswspecial(wint_t wc);

     int
     iswupper(wint_t wc);

     int
     iswxdigit(wint_t wc);

DESCRIPTION
     The above functions are character classification utility functions, for use with wide characters
     (wchar_t or wint_t).  See the description for the similarly-named single byte classification functions
     (such as isalnum(3)), for details.

     Extended locale versions of these functions are documented in iswalnum_l(3).  See xlocale(3) for more
     information.

RETURN VALUES
     The functions return zero if the character tests false and return non-zero if the character tests true.

SEE ALSO
     isalnum(3), isalpha(3), isascii(3), isblank(3), iscntrl(3), isdigit(3), isgraph(3), ishexnumber(3),
     isideogram(3), islower(3), isnumber(3), isphonogram(3), isprint(3), ispunct(3), isrune(3), isspace(3),
     isspecial(3), isupper(3), iswalnum_l(3), isxdigit(3), wctype(3)

STANDARDS
     These functions conform to IEEE Std 1003.1-2001 (``POSIX.1''), except iswascii(), iswhexnumber(),
     iswideogram(), iswnumber(), iswphonogram(), iswrune(), and iswspecial(), which are FreeBSD extensions.

CAVEATS
     The result of these functions is undefined unless the argument is WEOF or a valid wchar_t value for the
     current locale.

BSD                             October 3, 2002                            BSD

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback