ANSI C Type Library.
More...
|
unsigned short | islower (char character) |
| The function checks whether the passed character is a lowercase letter. More...
|
|
unsigned short | isupper (char character) |
| The function checks whether the passed character is a uppercase letter. More...
|
|
unsigned short | isalpha (char character) |
| The function checks whether a character is an alphabet (a to z and A-Z). More...
|
|
unsigned short | iscntrl (char character) |
| The function checks whether a character is a control character. More...
|
|
unsigned short | isdigit (char character) |
| The function checks if the passed character is a decimal digit character. More...
|
|
unsigned short | isalnum (char character) |
| The function checks if the passed character is alphanumeric (cipher or letter). More...
|
|
unsigned short | isspace (char character) |
| The function checks whether a character is a white-space character. More...
|
|
unsigned short | ispunct (char character) |
| The function checks whether a character is a punctuation mark. More...
|
|
unsigned short | isgraph (char character) |
| The function checks whether a character is a graphic character. More...
|
|
unsigned short | isxdigit (char character) |
| The function checks whether a character is a hex digit. More...
|
|
char | tolower (char character) |
| The function converts a given letter to lowercase. More...
|
|
char | toupper (char character) |
| The function converts lowercase letter to uppercase. More...
|
|
ANSI C Type Library provides a set of standard ANSI C library functions for testing and mapping characters.
◆ islower()
unsigned short islower |
( |
char |
character | ) |
|
The function checks whether the passed character is a lowercase letter.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a lowercase letter.
◆ isupper()
unsigned short isupper |
( |
char |
character | ) |
|
The function checks whether the passed character is a uppercase letter.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a UPPERCASE letter
◆ isalpha()
unsigned short isalpha |
( |
char |
character | ) |
|
The function checks whether a character is an alphabet (a to z and A-Z).
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a letter.
◆ iscntrl()
unsigned short iscntrl |
( |
char |
character | ) |
|
The function checks whether a character is a control character.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a control character.
◆ isdigit()
unsigned short isdigit |
( |
char |
character | ) |
|
The function checks if the passed character is a decimal digit character.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a cipher (digit)
◆ isalnum()
unsigned short isalnum |
( |
char |
character | ) |
|
The function checks if the passed character is alphanumeric (cipher or letter).
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is alphanumeric (cipher or letter).
◆ isspace()
unsigned short isspace |
( |
char |
character | ) |
|
The function checks whether a character is a white-space character.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is space or tab.
◆ ispunct()
unsigned short ispunct |
( |
char |
character | ) |
|
The function checks whether a character is a punctuation mark.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a punctuation mark.
◆ isgraph()
unsigned short isgraph |
( |
char |
character | ) |
|
The function checks whether a character is a graphic character.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if the given character is a graphical character.
◆ isxdigit()
unsigned short isxdigit |
( |
char |
character | ) |
|
The function checks whether a character is a hex digit.
- Parameters
-
[in] | character | This is the character to be checked. |
- Returns
- Returns true if given character is a hex digit.
◆ tolower()
char tolower |
( |
char |
character | ) |
|
The function converts a given letter to lowercase.
- Parameters
-
[in] | character | This is the letter to be converted to lowercase. |
- Returns
- Returns the same letter passed as a parameter.
◆ toupper()
char toupper |
( |
char |
character | ) |
|
The function converts lowercase letter to uppercase.
- Parameters
-
[in] | character | This is the letter to be converted to uppercase. |
- Returns
- Returns the same letter passed as a parameter.