GBDK 2020 Docs
API Documentation for GBDK 2020
|
#include <types.h>
Go to the source code of this file.
Functions | |
BOOLEAN | isalpha (char c) |
BOOLEAN | isupper (char c) |
BOOLEAN | islower (char c) |
BOOLEAN | isdigit (char c) |
BOOLEAN | isspace (char c) |
char | toupper (char c) |
char | tolower (char c) |
Character type functions.
BOOLEAN isalpha | ( | char | c | ) |
Returns TRUE if the character c is a letter (a-z, A-Z), otherwise FALSE
c | Character to test |
BOOLEAN isupper | ( | char | c | ) |
Returns TRUE if the character c is an uppercase letter (A-Z), otherwise FALSE
c | Character to test |
BOOLEAN islower | ( | char | c | ) |
Returns TRUE if the character c is a lowercase letter (a-z), otherwise FALSE
c | Character to test |
BOOLEAN isdigit | ( | char | c | ) |
Returns TRUE if the character c is a digit (0-9), otherwise FALSE
c | Character to test |
BOOLEAN isspace | ( | char | c | ) |
Returns TRUE if the character c is a space (' '), tab (\t), or newline (\n) character, otherwise FALSE
c | Character to test |
char toupper | ( | char | c | ) |
Returns uppercase version of character c if it is a letter (a-z), otherwise it returns the input value unchanged.
c | Character to test |
char tolower | ( | char | c | ) |
Returns lowercase version of character c if it is a letter (A-Z), otherwise it returns the input value unchanged.
c | Character to test |