The toupper function

Name

toupper -- 

Synopsis

#include <ctype.h>

int toupper (int c);

Description

The toupper function converts an lower case letter to the corresponding upper case letter.

Returns

If the argument is a character for which islower is true and there is a corresponding character for which isupper is true, the toupper function returns the corresponding character; otherwise, the argument is returned unchanged.