MicrOS
toupper.c File Reference
#include "../ctype.h"

Functions

int toupper (int c)
 Make letter upper. More...
 

Function Documentation

◆ toupper()

int toupper ( int  c)

Make letter upper.

The toupper function converts a lowercase letter to a corresponding uppercase letter.

Parameters
cValue to check.
Returns
If the argument is a character for which islower is true and there are one or more corresponding characters, as specified by the current locale, for which isupper is true, the toupper function returns one of the corresponding characters (always the same one for any giv en locale); otherwise, the argument is returned unchanged.