2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
34 IMPORT_C int isalnum(int c);
35 IMPORT_C int isalpha(int c);
36 IMPORT_C int iscntrl(int c);
37 IMPORT_C int isdigit(int c);
38 IMPORT_C int isgraph(int c);
39 IMPORT_C int islower(int c);
40 IMPORT_C int isprint(int c);
41 IMPORT_C int ispunct(int c);
42 IMPORT_C int isspace(int c);
43 IMPORT_C int isupper(int c);
44 IMPORT_C int isxdigit(int c);
45 IMPORT_C int tolower(int c);
46 IMPORT_C int toupper(int c);
49 not strict ansi, but popular nevertheless
51 #define isascii(c) ((unsigned)(c)<=0177)
52 #define toascii(c) ((c)&0177)
55 #define _tolower(c) tolower(c)
56 #define _toupper(c) toupper(c)
62 #endif /* _CTYPE_H_ */