ctype.h (1112B)
1/* 2 * QEMU TCG support 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 * See the COPYING file in the top-level directory. 6 */ 7 8#ifndef QEMU_CTYPE_H 9#define QEMU_CTYPE_H 10 11#define qemu_isalnum(c) isalnum((unsigned char)(c)) 12#define qemu_isalpha(c) isalpha((unsigned char)(c)) 13#define qemu_iscntrl(c) iscntrl((unsigned char)(c)) 14#define qemu_isdigit(c) isdigit((unsigned char)(c)) 15#define qemu_isgraph(c) isgraph((unsigned char)(c)) 16#define qemu_islower(c) islower((unsigned char)(c)) 17#define qemu_isprint(c) isprint((unsigned char)(c)) 18#define qemu_ispunct(c) ispunct((unsigned char)(c)) 19#define qemu_isspace(c) isspace((unsigned char)(c)) 20#define qemu_isupper(c) isupper((unsigned char)(c)) 21#define qemu_isxdigit(c) isxdigit((unsigned char)(c)) 22#define qemu_tolower(c) tolower((unsigned char)(c)) 23#define qemu_toupper(c) toupper((unsigned char)(c)) 24#define qemu_isascii(c) isascii((unsigned char)(c)) 25#define qemu_toascii(c) toascii((unsigned char)(c)) 26 27#endif