Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 8
Test a wide character to see if it's a given character class
#include <wctype.h>
int iswctype( wint_t wc,
wctype_t charclass );
- wc
- The wide character you want to test.
- charclass
- The character class you want to test for.
Get this class by calling
wctype().
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The iswctype() function tests if the argument wc is a
member of one or several character classes.
This function:
|
Is equivalent to:
|
iswalnum( wc )
|
iswctype( wc , wctype( "alnum" ) )
|
iswalpha( wc )
|
iswctype( wc , wctype( "alpha" ) )
|
ispunct( wc )
|
iswctype( wc , wctype( "punct" ) ) |
|
The results are unreliable if you didn't use wctype() to obtain
charclass, or if a call to
setlocale()
affects LC_CTYPE. |
A nonzero value if the character is a member of the specified character class
(or classes), or zero if the character isn't a member or charclass
is 0.
ANSI,
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
The result is valid only for wchar_t arguments and
WEOF.
iswalnum(),
iswalpha(),
iswcntrl(),
iswdigit(),
iswgraph(),
iswlower(),
iswprint(),
iswpunct(),
iswspace(),
iswupper(),
iswxdigit(),
setlocale()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 179
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/iswctype.html on line 179