f9ae521710
This change means that there is only one set of global stdin, stdout, and stderr FILE streams shared by all the threads. This reduces memory usage and avoids having to close these streams before threads exit. These streams still have a lock to synchronise access.
206 lines
7 KiB
C
206 lines
7 KiB
C
/* newlib.h. Generated from newlib.hin by configure. */
|
|
/* newlib.hin. Manually edited from the output of autoheader to
|
|
remove all PACKAGE_ macros which will collide with any user
|
|
package using newlib header files and having its own package name,
|
|
version, etc... */
|
|
#ifndef __NEWLIB_H__
|
|
|
|
#define __NEWLIB_H__ 1
|
|
|
|
/* EL/IX level */
|
|
/* #undef _ELIX_LEVEL */
|
|
|
|
/* Newlib version */
|
|
#include <_newlib_version.h>
|
|
|
|
/* C99 formats support (such as %a, %zu, ...) in IO functions like
|
|
* printf/scanf enabled */
|
|
/* #undef _WANT_IO_C99_FORMATS */
|
|
|
|
/* long long type support in IO functions like printf/scanf enabled */
|
|
/* #undef _WANT_IO_LONG_LONG */
|
|
|
|
/* Register application finalization function using atexit. */
|
|
/* #undef _WANT_REGISTER_FINI */
|
|
|
|
/* long double type support in IO functions like printf/scanf enabled */
|
|
/* #undef _WANT_IO_LONG_DOUBLE */
|
|
|
|
/* Positional argument support in printf functions enabled. */
|
|
/* #undef _WANT_IO_POS_ARGS */
|
|
|
|
/* Optional reentrant struct support. Used mostly on platforms with
|
|
very restricted storage. */
|
|
#define _WANT_REENT_SMALL 1
|
|
|
|
/* Multibyte supported */
|
|
/* #undef _MB_CAPABLE */
|
|
|
|
/* MB_LEN_MAX */
|
|
#define _MB_LEN_MAX 1
|
|
|
|
/* ICONV enabled */
|
|
/* #undef _ICONV_ENABLED */
|
|
|
|
/* Enable ICONV external CCS files loading capabilities */
|
|
/* #undef _ICONV_ENABLE_EXTERNAL_CCS */
|
|
|
|
/* Define if the linker supports .preinit_array/.init_array/.fini_array
|
|
* sections. */
|
|
#define HAVE_INITFINI_ARRAY 1
|
|
|
|
/* True if atexit() may dynamically allocate space for cleanup
|
|
functions. */
|
|
#define _ATEXIT_DYNAMIC_ALLOC 1
|
|
|
|
/* True if long double supported. */
|
|
#define _HAVE_LONG_DOUBLE 1
|
|
|
|
/* Define if compiler supports -fno-tree-loop-distribute-patterns. */
|
|
#define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
|
|
|
|
/* True if long double supported and it is equal to double. */
|
|
#define _LDBL_EQ_DBL 1
|
|
|
|
/* Define if ivo supported in streamio. */
|
|
#define _FVWRITE_IN_STREAMIO 1
|
|
|
|
/* Define if fseek functions support seek optimization. */
|
|
#define _FSEEK_OPTIMIZATION 1
|
|
|
|
/* Define if wide char orientation is supported. */
|
|
#define _WIDE_ORIENT 1
|
|
|
|
/* Define if unbuffered stream file optimization is supported. */
|
|
#define _UNBUF_STREAM_OPT 1
|
|
|
|
/* Define if lite version of exit supported. */
|
|
/* #undef _LITE_EXIT */
|
|
|
|
/* Define if declare atexit data as global. */
|
|
/* #undef _REENT_GLOBAL_ATEXIT */
|
|
|
|
/* Define to move the stdio stream FILE objects out of struct _reent and make
|
|
them global. The stdio stream pointers of struct _reent are initialized to
|
|
point to the global stdio FILE stream objects. */
|
|
#define _WANT_REENT_GLOBAL_STDIO_STREAMS 1
|
|
|
|
/* Define if small footprint nano-formatted-IO implementation used. */
|
|
#define _NANO_FORMATTED_IO 1
|
|
|
|
/* Define if using retargetable functions for default lock routines. */
|
|
/* #undef _RETARGETABLE_LOCKING */
|
|
|
|
/* Define to use type long for time_t. */
|
|
/* #undef _WANT_USE_LONG_TIME_T */
|
|
|
|
/*
|
|
* Iconv encodings enabled ("to" direction)
|
|
*/
|
|
/* #undef _ICONV_TO_ENCODING_BIG5 */
|
|
/* #undef _ICONV_TO_ENCODING_CP775 */
|
|
/* #undef _ICONV_TO_ENCODING_CP850 */
|
|
/* #undef _ICONV_TO_ENCODING_CP852 */
|
|
/* #undef _ICONV_TO_ENCODING_CP855 */
|
|
/* #undef _ICONV_TO_ENCODING_CP866 */
|
|
/* #undef _ICONV_TO_ENCODING_EUC_JP */
|
|
/* #undef _ICONV_TO_ENCODING_EUC_TW */
|
|
/* #undef _ICONV_TO_ENCODING_EUC_KR */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_1 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_10 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_11 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_13 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_14 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_15 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_2 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_3 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_4 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_5 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_6 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_7 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_8 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_8859_9 */
|
|
/* #undef _ICONV_TO_ENCODING_ISO_IR_111 */
|
|
/* #undef _ICONV_TO_ENCODING_KOI8_R */
|
|
/* #undef _ICONV_TO_ENCODING_KOI8_RU */
|
|
/* #undef _ICONV_TO_ENCODING_KOI8_U */
|
|
/* #undef _ICONV_TO_ENCODING_KOI8_UNI */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_2 */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_2_INTERNAL */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_2BE */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_2LE */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_4 */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_4_INTERNAL */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_4BE */
|
|
/* #undef _ICONV_TO_ENCODING_UCS_4LE */
|
|
/* #undef _ICONV_TO_ENCODING_US_ASCII */
|
|
/* #undef _ICONV_TO_ENCODING_UTF_16 */
|
|
/* #undef _ICONV_TO_ENCODING_UTF_16BE */
|
|
/* #undef _ICONV_TO_ENCODING_UTF_16LE */
|
|
/* #undef _ICONV_TO_ENCODING_UTF_8 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1250 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1251 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1252 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1253 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1254 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1255 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1256 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1257 */
|
|
/* #undef _ICONV_TO_ENCODING_WIN_1258 */
|
|
|
|
/*
|
|
* Iconv encodings enabled ("from" direction)
|
|
*/
|
|
/* #undef _ICONV_FROM_ENCODING_BIG5 */
|
|
/* #undef _ICONV_FROM_ENCODING_CP775 */
|
|
/* #undef _ICONV_FROM_ENCODING_CP850 */
|
|
/* #undef _ICONV_FROM_ENCODING_CP852 */
|
|
/* #undef _ICONV_FROM_ENCODING_CP855 */
|
|
/* #undef _ICONV_FROM_ENCODING_CP866 */
|
|
/* #undef _ICONV_FROM_ENCODING_EUC_JP */
|
|
/* #undef _ICONV_FROM_ENCODING_EUC_TW */
|
|
/* #undef _ICONV_FROM_ENCODING_EUC_KR */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_1 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_10 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_11 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_13 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_14 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_15 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_2 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_3 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_4 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_5 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_6 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_7 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_8 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_8859_9 */
|
|
/* #undef _ICONV_FROM_ENCODING_ISO_IR_111 */
|
|
/* #undef _ICONV_FROM_ENCODING_KOI8_R */
|
|
/* #undef _ICONV_FROM_ENCODING_KOI8_RU */
|
|
/* #undef _ICONV_FROM_ENCODING_KOI8_U */
|
|
/* #undef _ICONV_FROM_ENCODING_KOI8_UNI */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_2 */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_2_INTERNAL */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_2BE */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_2LE */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_4 */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_4_INTERNAL */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_4BE */
|
|
/* #undef _ICONV_FROM_ENCODING_UCS_4LE */
|
|
/* #undef _ICONV_FROM_ENCODING_US_ASCII */
|
|
/* #undef _ICONV_FROM_ENCODING_UTF_16 */
|
|
/* #undef _ICONV_FROM_ENCODING_UTF_16BE */
|
|
/* #undef _ICONV_FROM_ENCODING_UTF_16LE */
|
|
/* #undef _ICONV_FROM_ENCODING_UTF_8 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1250 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1251 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1252 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1253 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1254 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1255 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1256 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1257 */
|
|
/* #undef _ICONV_FROM_ENCODING_WIN_1258 */
|
|
|
|
#endif /* !__NEWLIB_H__ */
|
|
|