diff options
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.c b/common/util.c index 701419b073..054e8e839c 100644 --- a/common/util.c +++ b/common/util.c @@ -47,6 +47,11 @@ int isalpha(int c) return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'); } +int isupper(int c) +{ + return c >= 'A' && c <= 'Z'; +} + int isprint(int c) { return c >= ' ' && c <= '~'; |