tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / compiler / stdc / include / libraries / stdc.h
blobe32b604729a92b27c6d41c7e45591e2d29a83051
1 #ifndef _LIBRARIES_STDC_H
2 #define _LIBRARIES_STDC_H
4 /*
5 Copyright © 2012-2013, The AROS Development Team. All rights reserved.
6 $Id$
8 Public part of StdC libbase.
9 Take care of backwards compatibility when changing something in this file.
12 #include <exec/libraries.h>
14 #include <setjmp.h>
16 struct StdCBase
18 struct Library lib;
20 /* ctype.h */
21 const unsigned short int * __ctype_b;
22 const unsigned char * __ctype_toupper;
23 const unsigned char * __ctype_tolower;
25 /* errno.h */
26 int _errno;
28 /* math.h */
29 int _signgam;
31 /* stdlib.h */
32 int mb_cur_max;
34 /* signal.h */
35 unsigned char sigrunning, sigpending;
38 __BEGIN_DECLS
40 struct StdCBase *__aros_getbase_StdCBase(void);
42 /* Some internal support functions */
43 void __stdc_program_startup(jmp_buf exitjmp, int *errorptr);
44 void __stdc_program_end(void);
45 int *__stdc_set_errorptr(int *errorptr);
46 int *__stdc_get_errorptr(void);
47 void __stdc_set_exitjmp(jmp_buf exitjmp, jmp_buf previousjmp);
48 void __stdc_jmp2exit(int normal, int returncode) __noreturn;
50 __END_DECLS
52 #endif /* _LIBRARIES_STDC_H */