Use __isctype() instead of __istype() for iswdigit() and iswxdigit() for
consistency with <ctype.h>.
This commit is contained in:
parent
2854b5d87c
commit
05190926d8
@ -93,14 +93,14 @@ __END_DECLS
|
||||
#define iswblank(wc) __istype((wc), _CTYPE_B)
|
||||
#define iswcntrl(wc) __istype((wc), _CTYPE_C)
|
||||
#define iswctype(wc, charclass) __istype((wc), (charclass))
|
||||
#define iswdigit(wc) __istype((wc), _CTYPE_D)
|
||||
#define iswdigit(wc) __isctype((wc), _CTYPE_D)
|
||||
#define iswgraph(wc) __istype((wc), _CTYPE_G)
|
||||
#define iswlower(wc) __istype((wc), _CTYPE_L)
|
||||
#define iswprint(wc) __istype((wc), _CTYPE_R)
|
||||
#define iswpunct(wc) __istype((wc), _CTYPE_P)
|
||||
#define iswspace(wc) __istype((wc), _CTYPE_S)
|
||||
#define iswupper(wc) __istype((wc), _CTYPE_U)
|
||||
#define iswxdigit(wc) __istype((wc), _CTYPE_X)
|
||||
#define iswxdigit(wc) __isctype((wc), _CTYPE_X)
|
||||
#define towlower(wc) __tolower(wc)
|
||||
#define towupper(wc) __toupper(wc)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user