![]() |
toupper | Function (Macro) |
ctype.h |
short toupper (short c); |
Translates characters to uppercase.
toupper is a function that converts an integer c to its uppercase value ('A' to 'Z') if it was lowercase ('a' to 'z'). All others are left unchanged. Returns the converted value of c. toupper is a relatively small inline function which is implemented using GNU C smart macros.