diff options
Diffstat (limited to 'converters/ta2as/files/strtolower.c')
-rw-r--r-- | converters/ta2as/files/strtolower.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/converters/ta2as/files/strtolower.c b/converters/ta2as/files/strtolower.c new file mode 100644 index 000000000000..979bce68913b --- /dev/null +++ b/converters/ta2as/files/strtolower.c @@ -0,0 +1,12 @@ +#include <ctype.h> + +char * +strtolower(char *str) +{ + char *s; + + for (s = str; *s; ++s); + *s = tolower(*s); + + return(str); +} |