/** * @file * * @ingroup libcsupport * * @brief This header file provides interfaces of the * C lib. */ #include <_ansi.h> #ifndef __rtems__ #include <../ctype/local.h> #endif /* __rtems__ */ /* internal function to compute width of wide char. */ int __wcwidth (wint_t); /* Taken from glibc: Add the compiler optimization to inhibit loop transformation to library calls. This is used to avoid recursive calls in memset and memmove default implementations. */ #ifdef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL # define __inhibit_loop_to_libcall \ __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns"))) #else # define __inhibit_loop_to_libcall #endif