MicrOS
|
Go to the source code of this file.
Functions | |
int | isalnum (int c) |
Check if value is alfanumeric. More... | |
int | isalpha (int c) |
Check if value is letter. More... | |
int | isblank (int c) |
Check if value is blank. More... | |
int | iscntrl (int c) |
Check if value is control character. More... | |
int | isdigit (int c) |
Check if value is digit. More... | |
int | isgraph (int c) |
Check if value is any printing character except space. More... | |
int | islower (int c) |
Check if value is lower alphanumeric. More... | |
int | isprint (int c) |
Check if value is printable. More... | |
int | ispunct (int c) |
Check if value is punctation. More... | |
int | isspace (int c) |
Check if value is space. More... | |
int | isupper (int c) |
Check if value is upper alphanumeric. More... | |
int | isxdigit (int c) |
Check if value is hexadecimal-digit character. More... | |
int | tolower (int c) |
Make letter lower. More... | |
int | toupper (int c) |
Make letter upper. More... | |
int isalnum | ( | int | c | ) |
Check if value is alfanumeric.
The isalnum function tests for any character for which isalpha or isdigit is true.
c | Value to check. |
int isalpha | ( | int | c | ) |
Check if value is letter.
The isalpha function tests for any character for which isupper or islower is true, or any character that is one of a locale-specific set of alphabetic characters for which none of iscntrl, isdigit, ispunct, or isspace is true. In the "C" locale, isalpha returns true only for the characters for which isupper or islower is true.
c | Value to check. |
int isblank | ( | int | c | ) |
Check if value is blank.
The isblank function tests for any character that is a standard blank character or is one of a locale-specific set of characters for which isspace is true and that is used to separate words within a line of text. The standard blank characters are the following: space (' '), and horizontal tab (''). In the "C" locale, isblank returns true only for the standard blank characters.
c | Value to check. |
int iscntrl | ( | int | c | ) |
Check if value is control character.
The iscntrl function tests for any control character.
c | Value to check. |
int isdigit | ( | int | c | ) |
Check if value is digit.
The isdigit function tests for any decimal-digit character.
c | Value to check. |
int isgraph | ( | int | c | ) |
Check if value is any printing character except space.
The isgraph function tests for any printing character except space (' ').
c | Value to check. |
int islower | ( | int | c | ) |
Check if value is lower alphanumeric.
The islower function tests for any character that is a lowercase letter or is one of a locale-specific set of characters for which none of iscntrl, isdigit, ispunct, or isspace is true. In the "C" locale, islower returns true only for the lowercase letters.
c | Value to check. |
int isprint | ( | int | c | ) |
Check if value is printable.
The isprint function tests for any printing character including space (' ').
c | Value to check. |
int ispunct | ( | int | c | ) |
Check if value is punctation.
The ispunct function tests for any printing character that is one of a locale-specific set of punctuation characters for which neither isspace nor isalnum is true. In the "C" locale, ispunct returns true for every printing character for which neither isspace nor isalnum is true.
c | Value to check. |
int isspace | ( | int | c | ) |
Check if value is space.
The isspace function tests for any character that is a standard white-space character or is one of a locale-specific set of characters for which isalnum is false. The standard white-space characters are the following: space (' '), form feed (''), new-line ('
'), carriage return (''), horizontal tab (''), and vertical tab (''). In the "C" locale, isspace returns true only for the standard white-space characters.
c | Value to check. |
int isupper | ( | int | c | ) |
Check if value is upper alphanumeric.
The isupper function tests for any character that is an uppercase letter or is one of a locale-specific set of characters for which none of iscntrl, isdigit, ispunct, or isspace is true. In the "C" locale, isupper returns true only for the uppercase letters.
c | Value to check. |
int isxdigit | ( | int | c | ) |
Check if value is hexadecimal-digit character.
The isxdigit function tests for any hexadecimal-digit character.
c | Value to check. |
int tolower | ( | int | c | ) |
Make letter lower.
The tolower function converts an uppercase letter to a corresponding lowercase letter.
c | Value to check. |
int toupper | ( | int | c | ) |
Make letter upper.
The toupper function converts a lowercase letter to a corresponding uppercase letter.
c | Value to check. |