1 /*
2  * Copyright (c) 2006-2022, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2022-06-07     Meco Man     The first version.
9  */
10 
11 #ifndef __POSIX_CTYPE_H__
12 #define __POSIX_CTYPE_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <ctype.h>
19 
20 #if !(defined(__ICCARM__) && (__VER__ > 9000000)) /* IAR9.0 has defined */
21 #ifndef isascii /* some toolchain use macro to define it */
22 int isascii(int c);
23 #endif
24 #endif /* !(defined(__ICCARM__) && (__VER__ > 9000000)) */
25 
26 #ifndef toascii
27 int toascii(int c);
28 #endif
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* __POSIX_CTYPE_H__ */
35