Go to the first, previous, next, last section, table of contents.


toupper

Syntax

#include <ctype.h>

int toupper(int c);

Description

This function returns c, converting it to upper case if it is lower case. See section tolower.

Return Value

The upper case letter.

Portability

ANSI, POSIX

Example

for (i=0; buf[i]; i++)
  buf[i] = toupper(buf[i]);


Go to the first, previous, next, last section, table of contents.