summaryrefslogtreecommitdiffstats
path: root/include/qemu/ctype.h
blob: 3691f0984d5b6fcd5b12a9ce76a2354d97476fce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * QEMU TCG support
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#ifndef QEMU_CTYPE_H
#define QEMU_CTYPE_H

#define qemu_isalnum(c)         isalnum((unsigned char)(c))
#define qemu_isalpha(c)         isalpha((unsigned char)(c))
#define qemu_iscntrl(c)         iscntrl((unsigned char)(c))
#define qemu_isdigit(c)         isdigit((unsigned char)(c))
#define qemu_isgraph(c)         isgraph((unsigned char)(c))
#define qemu_islower(c)         islower((unsigned char)(c))
#define qemu_isprint(c)         isprint((unsigned char)(c))
#define qemu_ispunct(c)         ispunct((unsigned char)(c))
#define qemu_isspace(c)         isspace((unsigned char)(c))
#define qemu_isupper(c)         isupper((unsigned char)(c))
#define qemu_isxdigit(c)        isxdigit((unsigned char)(c))
#define qemu_tolower(c)         tolower((unsigned char)(c))
#define qemu_toupper(c)         toupper((unsigned char)(c))
#define qemu_isascii(c)         isascii((unsigned char)(c))
#define qemu_toascii(c)         toascii((unsigned char)(c))

#endif