iswpunct

Defined in header <wctype.h> int iswpunct( wint_t ch ); (since C95) Checks if the given wide character is a punctuation character, i.e. it is one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ or any punctuation character specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a punctuation character, zero otherwise. Example #include <stdio.h> #include <wchar.h> #include <wctype.h&g

iswlower

Defined in header <wctype.h> int iswlower( wint_t ch ); (since C95) Checks if the given wide character is a lowercase letter, i.e. one of abcdefghijklmnopqrstuvwxyz or any lowercase letter specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is an lowercase letter, zero otherwise. Example #include <stdio.h> #include <wchar.h> #include <wctype.h> #include <locale.h> int m

iswgraph

Defined in header <wctype.h> int iswgraph( wint_t ch ); (since C95) Checks if the given wide character has a graphical representation, i.e. it is either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz), a punctuation character(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) or any graphical character specific to the current C locale. Parameters ch - wide character Return value Non-zero value i

iswdigit

Defined in header <wctype.h> int iswdigit( wint_t ch ); (since C95) Checks if the given wide character corresponds (if narrowed) to one of the ten decimal digit characters 0123456789. Parameters ch - wide character Return value Non-zero value if the wide character is an numeric character, zero otherwise. Notes iswdigit and iswxdigit are the only standard wide character classification functions that are not affected by the currently installed C locale. Exa

iswcntrl

Defined in header <wctype.h> int iswcntrl( wint_t ch ); (since C95) Checks if the given wide character is a control character, i.e. codes 0x00-0x1F and 0x7F and any control characters specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a control character, zero otherwise. Example #include <stdio.h> #include <wchar.h> #include <wctype.h> #include <locale.h> int main(v

iswblank

Defined in header <wctype.h> int iswblank( wint_t ch ); (since C99) Checks if the given wide character is classified as blank character (that is, a whitespace character used to separate words in a sentence) by the current C locale. In the default C locale, only space (0x20) and horizontal tab (0x09) are blank characters. Parameters ch - wide character Return value Non-zero value if the wide character is a blank character, zero otherwise. Example #include

iswctype

Defined in header <wctype.h> int iswctype( wint_t wc, wctype_t desc ); (since C95) Classifies the wide character wc using the current C locale's LC_CTYPE category identified by desc. Parameters wc - the wide character to classify desc - the LC_CTYPE category, obtained from a call to wctype Return value Non-zero if the character wc has the property identified by desc in LC_CTYPE facet of the current C locale, zero otherwise. Example #include <loca

iswalpha

Defined in header <wctype.h> int iswalpha( wint_t ch ); (since C95) Checks if the given wide character is an alphabetic character, i.e. either an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz) or any alphabetic character specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a alphabetic character, zero otherwise. Example #include <stdio.h> #

iswalnum

Defined in header <wctype.h> int iswalnum( wint_t ch ); (since C95) Checks if the given wide character is an alphanumeric character, i.e. either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz) or any alphanumeric character specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a alphanumeric character, zero otherwise. Example

isupper

Defined in header <ctype.h> int isupper( int ch ); Checks if the given character is an uppercase character according to the current C locale. In the default "C" locale, isupper returns true only for the uppercase letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ). If isupper returns true, it is guaranteed that iscntrl, isdigit, ispunct, and isspace return false for the same character in the same C locale. The behavior is undefined if the value of ch is not representable as unsigned char