C Tutorial
Control statement
C Loops
C Arrays
C String
C Functions
C Structure
C Pointer
C File
C Header Files
C Preprocessors
C Misc
Library function of wctype.h header file in C
All library function of wctype.h header file will be discussed here. wctype.h header file contains function which returns zero or non-zero depending on their parameter which we have passed. Some library function under wctype.h is given bellow;
- iswalnum() — iswalnum() function returns non-zero if the character we passed in an alphanumeric character.
- iswalpha() — iswalpha() function returns non-zero if the character is an alphabet.
- iswblank() — iswblank() function gives a non-zero if the character is blank.
- iswcntrl() — iswcntrl() function is defined under wctype.h header file. This function returns non-zero if the character is a control character.
- iswdigit() — iswdigit() function returns non-zero if the character is a digit.
- iswgraph() — iswgraph() function returns non-zero if the character is a visible character.
- iswlower() — iswlower() function returns non-zero if the character is a lowercase character.
- iswupper() — iswupper() function returns non-zero if the character is an uppercase character.
- iswpunct() — iswpunct() function returns non-zero if the character which we have passed as argument is a punctuation mark.
- iswspace() — iswspace() library function returns non-zero if the character is a white space.
- iswprint() — iswprint() function returns non-zero if the character we have passed is printable.
- iswxdigit() — iswxdigit() function returns non-zero if the character is a hexadecimal digit.
Previous page: limits.h header file
Next page: #include preprocessor directive