1#include <ctype.h> 2 3char *strlwr(char *str) 4{ 5 char *ret = str; 6 while(*str) 7 { 8 *str = tolower(*str); 9 ++str; 10 } 11 return ret; 12} 13 14