Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
strupper - convert string to uppercase letters (BS2000)
&pagelevel(4)&pagelevel
Syntax | #include <string.h> char *strupper(char *s1, const char *s2); |
Description | strupper() copies string s2, including the null byte (\0 ), to the memory area pointed to by s1, converting lowercase letters to uppercase in the process.
If string s2 is passed as a null pointer, the copy operation is not performed, and the lowercase letters in s1 are converted to uppercase. If s2 is not passed as a null pointer, s1 must be large enough to accommodate s2, including the null byte (\0 ). |
Return val. | Pointer to the result string s1. |
Notes | Strings terminated with the null byte (\0 ) are expected as arguments. strupper() does not verify whether s1 is large enough to accommodate the result.
The behavior is undefined if memory areas overlap. |
See also | strlower() , tolower() , toupper() .
|