strtoupper.c (175B)
1 #include <ctype.h> 2 3 #include "strtoupper.h" 4 5 char * strtoupper(char *str) { 6 char *ref = str; 7 for(;*ref;++ref) { 8 *ref=toupper((unsigned char)*ref); 9 } 10 return str; 11 }
str_extra.cExtra string functions library for C | |
| git clone git://git.finwo.net/lib/str_extra.c | |
| Log | Files | Refs | README |