STRUPR(DOS) XENIX System V STRUPR(DOS)
Name
strupr - Converts lowercase characters to uppercase.
Syntax
#include <string.h>
char *strupr (string);
char *string;
Description
The strupr function converts any lowercase letters in the
given string to uppercase. Other characters are not
affected.
Return Value
strupr returns a pointer to the converted string. There is
no error return.
See Also
strlwr(DOS)
Example
#include <string.h>
char string[100], *copy; . . . /* The
following statement makes a copy of a string in **
uppercase. */
copy = strupr (strdup (string));
Notes
This call must be compiled with the -dos flag.
Page 1 (printed 8/7/87)