Changeset 406
- Timestamp:
- Jul 18, 2003, 1:52:08 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/ctype.h
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r405 r406 22 22 23 23 extern inline int isalnum (int _c) 24 { return (_ctype+1)[ _c] & (_UPPER|_LOWER|_DIGIT); }24 { return (_ctype+1)[(unsigned char)_c] & (_UPPER|_LOWER|_DIGIT); } 25 25 extern inline int isalpha (int _c) 26 { return (_ctype+1)[ _c] & (_UPPER|_LOWER); }26 { return (_ctype+1)[(unsigned char)_c] & (_UPPER|_LOWER); } 27 27 extern inline int iscntrl (int _c) 28 { return (_ctype+1)[ _c] & (_CNTRL); }28 { return (_ctype+1)[(unsigned char)_c] & (_CNTRL); } 29 29 extern inline int isdigit (int _c) 30 { return (_ctype+1)[ _c] & (_DIGIT); }30 { return (_ctype+1)[(unsigned char)_c] & (_DIGIT); } 31 31 extern inline int isgraph (int _c) 32 { return (_ctype+1)[ _c] & (_PUNCT|_UPPER|_LOWER|_DIGIT); }32 { return (_ctype+1)[(unsigned char)_c] & (_PUNCT|_UPPER|_LOWER|_DIGIT); } 33 33 extern inline int islower (int _c) 34 { return (_ctype+1)[ _c] & (_LOWER); }34 { return (_ctype+1)[(unsigned char)_c] & (_LOWER); } 35 35 extern inline int isprint (int _c) 36 { return (_ctype+1)[ _c] & (_PRINT); }36 { return (_ctype+1)[(unsigned char)_c] & (_PRINT); } 37 37 extern inline int ispunct (int _c) 38 { return (_ctype+1)[ _c] & (_PUNCT); }38 { return (_ctype+1)[(unsigned char)_c] & (_PUNCT); } 39 39 extern inline int isspace (int _c) 40 { return (_ctype+1)[ _c] & (_SPACE); }40 { return (_ctype+1)[(unsigned char)_c] & (_SPACE); } 41 41 extern inline int isupper (int _c) 42 { return (_ctype+1)[ _c] & (_UPPER); }42 { return (_ctype+1)[(unsigned char)_c] & (_UPPER); } 43 43 extern inline int isxdigit (int _c) 44 { return (_ctype+1)[ _c] & (_XDIGIT); }44 { return (_ctype+1)[(unsigned char)_c] & (_XDIGIT); } 45 45 46 46 #else -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.