www.delorie.com/djgpp/doc/libc-2.01/libc_659.html   search  
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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997