diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2005-11-27 20:48:30 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2005-11-27 20:48:30 +0000 |
commit | afbd73263d694392402558d15a48653f593a1a47 (patch) | |
tree | f776c0225ff1baa5ca354d77f38ad8d0a88ffa21 /util.c | |
download | navit-svn-navit.tar.gz |
Initial Importnavit
git-svn-id: http://svn.code.sf.net/p/navit/code/branches/navit/navit@4 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#include <ctype.h> + +void +strtoupper(unsigned char *dest, unsigned char *src) +{ + while (*src) + *dest++=toupper(*src++); + *dest='\0'; +} + +void +strtolower(unsigned char *dest, unsigned char *src) +{ + while (*src) + *dest++=tolower(*src++); + *dest='\0'; +} + |