use the -newos toolchain even if -elf is present.
[newos.git] / include / ctype.h
bloba707817bd7465de8e233452618f49b91840cd8d8
1 /*
2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _CTYPE_H
6 #define _CTYPE_H
8 #ifdef __cplusplus
9 namespace std
10 {extern "C" {
11 #endif
13 int isalnum(int c);
14 int isalpha(int c);
15 int iscntrl(int c);
16 int isdigit(int c);
17 int isgraph(int c);
18 int islower(int c);
19 int isprint(int c);
20 int ispunct(int c);
21 int isspace(int c);
22 int isupper(int c);
23 int isxdigit(int c);
24 int isascii(int c);
25 int toascii(int c);
27 unsigned char tolower(unsigned char c);
28 unsigned char toupper(unsigned char c);
30 #ifdef __cplusplus
31 }} /* "C" */
32 #endif
34 #endif
36 #if defined(__cplusplus) && !defined(_NEWOS_NO_LIBC_COMPAT)
37 using ::std::isalnum;
38 using ::std::isalpha;
39 using ::std::iscntrl;
40 using ::std::isdigit;
41 using ::std::isgraph;
42 using ::std::islower;
43 using ::std::isprint;
44 using ::std::ispunct;
45 using ::std::isspace;
46 using ::std::isupper;
47 using ::std::isxdigit;
48 using ::std::tolower;
49 using ::std::toupper;
50 #endif