mingw-w64-crt/ctype/isblank.c
raw| 1 | #define _CTYPE_DISABLE_MACROS |
| 2 | #include <ctype.h> |
| 3 | |
| 4 | /** |
| 5 | * Calls to `_isctype ('\t', _BLANK)` return inconsistent results |
| 6 | * depending on CRT and active locale. |
| 7 | * |
| 8 | * In all CRTs it returns zero in "C" locale and non-zero otherwise. |
| 9 | */ |
| 10 | |
| 11 | int __cdecl isblank (int _C) |
| 12 | { |
| 13 | return (_isctype(_C, _BLANK) || _C == '\t'); |
| 14 | } |
| 15 | int (__cdecl *__MINGW_IMP_SYMBOL(isblank))(int) = isblank; |