ISWALNUM(3)
π ISWALNUM(3) π
okay bestie, this is the Library Functions Manual entry for ISWALNUM(3) β wide-character classification, but make it fashion. π
β¨ 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) β yes bestie, link it with -lc and you're slaying. β¨
π SYNOPSIS π
every single one of these takes a wint_t wc and returns int, no cap. pull in the header like this:
#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 (like isalnum(3)), for details.
like, they're the wide-character girlies β same classification energy, but for wchar_t and wint_t. for the full deets, go read the matching single-byte function descriptions like isalnum(3). iykyk π
π RETURN VALUES π
The functions return zero if the character tests false and return non-zero if the character tests true.
so: false = 0, true = not-0. slay. β¨
π SEE ALSO π
go read these next, bestie:
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)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 β οΈ
undefined behavior alert π¨ The result of these functions is undefined unless the argument isWEOFor a validwchar_tvalue for the current locale. please don't test the universe, bestie π
mwah π this page is from the Debian source/version, dated October 3, 2002, and it's the ISWALNUM(3) manual page. periodt. π«Ά
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 1991 The Regents of the University of California
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms