Changeset 2b20947 in mainline for uspace/lib/libc/include/ctype.h
- Timestamp:
- 2007-09-15T14:47:57Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0edf5f
- Parents:
- d0b72c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ctype.h
rd0b72c4 r2b20947 36 36 #define LIBC_CTYPE_H_ 37 37 38 static inline int islower(int c) 39 { 40 return ((c >= 'a') && (c <= 'z')); 41 } 42 43 static inline int isupper(int c) 44 { 45 return ((c >= 'A') && (c <= 'Z')); 46 } 47 38 48 static inline int isalpha(int c) 39 49 { 40 return ( ((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z')));50 return (islower(c) || isupper(c)); 41 51 } 42 52
Note:
See TracChangeset
for help on using the changeset viewer.