Skip to main content

toupper

Function toupper 

Source
#[unsafe(no_mangle)]
pub extern "C" fn toupper(c: c_int) -> c_int
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/toupper.html.

Returns the corresponding uppercase character for c according to the current locale, otherwise returns the input unchanged.

The list of character classes defined by POSIX is specified here: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap07.html