strupr

Replaces each character of a string with its uppercase equivalent.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  char *strupr (
     char   *s1);
  

Parameters

s1

(IN) Points to the string to convert to uppercase characters.

Return Values

Returns the address of the original string.

Remarks

The strupr function replaces the string s1 with uppercase characters by invoking the toupper function for each character in the string.

See Also

strlwr