1 #include <u.h> 2 #include <libc.h> 3 #include <ctype.h> 4 #include "libString.h" 5 6 7 /* convert String to lower case */ 8 void 9 s_tolower(String *sp) 10 { 11 char *cp; 12 13 for(cp=sp->ptr; *cp; cp++) 14 *cp = tolower((uchar)*cp); 15 }