Go to main content

man pages section 3: Basic Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

_toupper(3C)

Name

_toupper - transliterate lower-case characters to upper-case

Synopsis

#include <ctype.h> 

int _toupper(int c);

Description

The _toupper() macro is equivalent to toupper(3C) except that the argument c must be a lower-case letter.

Return Values

On successful completion, _toupper() returns the upper-case letter corresponding to the argument passed.

Errors

No errors are defined.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
CSI
Enabled
Interface Stability
Standard
MT-Level
MT-Safe

See Also

islower(3C), toupper(3C), attributes(7), standards(7)

Notes

The Single UNIX Specification, Version 4 standard marked this interface obsolescent.