Serial number calling method Function details 1 int isalnum (int c) If parameter c is a letter (\'A\'—\'Z\' or \'a\'—\'z\') or a number (\'0\'—\'9\'), the function returns a non-zero value, otherwise it returns zero 2 int isalpha (int c) If parameter c is a letter in the alphabet (\'A\'—\'Z\' or \'a\'—\'z\'), the function returns a non-zero value, otherwise it returns zero 3 int isascii (int c) If parameter c is an ASCII character, that is, the low byte of c is between 0 and 127 (0x00~0x7F), the function returns a non-zero value, otherwise it returns zero 4 int iscntrl (int c) If parameter c is a control character, that is, c is a delete control character (0x7F) or a general control character (0x00~0x1F), the function returns a non-zero value, otherwise it returns zero 5 int isdigit (int c) c) If parameter c is a decimal number (0 to 9), the function returns a non-zero value, otherwise it returns zero 6int islower(int c) If parameter c is a lowercase letter (\'a\' to \'z\'), the function returns a non-zero value, otherwise it returns zero int isprint(int c) If parameter c is a printable character (0x20 to 0x7E), the function returns a non-zero value, otherwise it returns zero 7int isgraph(int c) Similar to the isprint function, except that it does not contain a space character (0x20) 8int ispunct(int c) If parameter c is a printable punctuation mark, that is, (isgraph(c) && !isalnum(c)) is a non-zero value, the function returns a non-zero value, otherwise it returns zero 9int isspace(int c) If parameter c is a space, horizontal or vertical tab, carriage return, line feed, or paper feed character (0x09--0x0D, 0x20), the function returns a non-zero value, otherwise it returns zero 10int isupper(int c) If parameter c is an uppercase letter (\'A\' to \'Z\'), the function returns a non-zero value, otherwise it returns zero 11int isxdigit(int <[c]>) If parameter c is a hexadecimal number (\'0\' to \'9\', \'a\' to \'f\', or \'A\' to \'F\'), the function returns a non-zero value, otherwise it returns zero
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore