Keil Logo

_toupper

Summary
#include <ctype.h>

int _toupper (
  int c);      /* character to convert */
Description

The _toupper routine is a macro version of toupper that may be used when c is known to be a lowercase character.

Return Value

The _toupper macro returns an uppercase character.

See Also

_tolower, tolower, toupper

Example
#include <ctype.h>

void test__toupper (char k) {
  if (islower (k)) k = _toupper (k);
}
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.