:man| Alphabetical   Categories   About us 
 
TOUPPER (3) | C library functions | Unix Manual Pages | :man

NAME

toupper - lower case to upper case letter conversion

CONTENTS

Library
Synopsis
Description
Return Values
Compatibility
See Also
Standards

LIBRARY


.Lb libc

SYNOPSIS


.In ctype.h int toupper "int c"

DESCRIPTION

The toupper function converts a lower-case letter to the corresponding upper-case letter. For single C char s locales (see multibyte(3)) the value of the argument is representable as an unsigned char or the value of EOF.

RETURN VALUES

If the argument is a lower-case letter, the toupper function returns the corresponding upper-case letter if there is one; otherwise the argument is returned unchanged.

COMPATIBILITY

The BSD 4.4 extension of accepting arguments outside of the range of the
.Vt "unsigned char" type in locales with large character sets is considered obsolete and may not be supported in future releases. The towupper function should be used instead.

SEE ALSO

ctype(3), isupper(3), multibyte(3), towupper(3)

STANDARDS

 
Created by Blin Media, 2008-2013