toupper()

convert lowercase character to uppercase 

Function


SYNOPSIS

#include <ctype.h>

int toupper(int c);


DESCRIPTION

The toupper() function converts a lowercase letter to the corresponding uppercase letter.


PARAMETERS

c 

An integer, the value of which is representable as an unsigned char, or the value of the macro EOF.


RETURN VALUES

If the parameter 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 parameter is returned unchanged.


CONFORMANCE

ANSI/ISO 9899-1990.


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

This function is MT-Safe as long as no thread calls setlocale() while this function is executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
_tolower(), _toupper(), isascii(), islower(), isupper(), setlocale(), tolower()


MKS Toolkit 9.2 Documentation Build 16.