Changeset 4f4b4e7 in mainline for uspace/lib/posix/ctype.c
- Timestamp:
- 2011-06-15T23:38:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b08ef1fd
- Parents:
- ab547063
- File:
-
- 1 edited
-
uspace/lib/posix/ctype.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/ctype.c
rab547063 r4f4b4e7 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 30 /** @addtogroup libposix 31 * @{ 32 */ 33 /** @file 34 */ 35 36 #define POSIX_INTERNAL 37 29 38 #include "ctype.h" 30 39 31 int isxdigit(int ch) 40 /** 41 * 42 * @param ch 43 * @return 44 */ 45 int posix_isxdigit(int ch) 32 46 { 33 47 return isdigit(ch) || 34 (ch >= 'a' && ch <= 'f') ||35 (ch >= 'A' && ch <= 'F');48 (ch >= 'a' && ch <= 'f') || 49 (ch >= 'A' && ch <= 'F'); 36 50 } 37 51 52 /** @} 53 */
Note:
See TracChangeset
for help on using the changeset viewer.
