toupper_m()

Convert the specified character to uppercase.

Synopsis:

#include <asr/types.h>
 
int toupper_m(int c)

Arguments:

c

The character to convert.

Library:

libasr

Description:

The toupper_m() function converts the specified ASCII character to uppercase. If the character isn't in the range of ASCII lowercase characters, it's returned unchanged.

Returns:

The uppercase character on success; the unchanged character on error.