#include <xtend/string.h>
-lxtend
size_t strupper(char *str)
str Pointer to null-terminated string to be copied
strupper(3) converts lower case characters in a string to upper case,
overwriting the original. It is functionally equivalent to strlupper(str, str,
strlen(str)). It is implemented separately for efficiency, since using
strlupper(3) for this purpose requires knowing or computing the length of the
string and passing three arguments instead of one.
char src[] = "Some text",
dest [DEST_SIZE + 1];
if ( strlupper(dest, src, DEST_SIZE + 1) != DEST_SIZE + 1 )
fputs("Warning: String truncated.n", stderr);
strllower(3), strlcpy(3), strlcat(3)