diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-01-24 19:01:04 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-01-24 19:01:04 -0500 |
| commit | c360ff0fc0bc7160af2c6229a709d98bf3247ed1 (patch) | |
| tree | c4edcb9e261dd8f819f52a992406749a7490eb7a /src/util.c | |
| parent | 47229fd6dbd9a756eb14264352604741276680a8 (diff) | |
| download | netcosm-c360ff0fc0bc7160af2c6229a709d98bf3247ed1.zip netcosm-c360ff0fc0bc7160af2c6229a709d98bf3247ed1.tar.gz netcosm-c360ff0fc0bc7160af2c6229a709d98bf3247ed1.tar.bz2 netcosm-c360ff0fc0bc7160af2c6229a709d98bf3247ed1.tar.xz | |
objects partially work, can't serialize yet
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -57,3 +57,12 @@ void all_upper(char *s) s++; } } + +void all_lower(char *s) +{ + while(*s) + { + *s = tolower(*s); + s++; + } +} |