Embedded Artistry Framework
Embedded Systems C++ Framework
Functions
isupper.c File Reference
#include <ctype.h>
Include dependency graph for isupper.c:

Functions

int isupper (int c)
 Checks if the given character is an uppercase character. More...
 

Function Documentation

◆ isupper()

int isupper ( int  ch)

Checks if the given character is an uppercase character.

Checks if the given character is an uppercase character using the default local. isupper returns true only for the uppercase letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ). If isupper returns true, it is guaranteed that

See also
iscntrl,
isdigit,
ispunct,
isspace will return false for the same character in the same default locale.

The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF.

Parameters
chThe character to classify
Returns
Non-zero value if the character is an uppercase letter, zero otherwise.

Referenced by bad_input(), good_input(), strtol(), strtoll(), strtoul(), and tolower().

Here is the caller graph for this function: