⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libc.h

📁 ecos为实时嵌入式操作系统
💻 H
📖 第 1 页 / 共 5 页
字号:
                          variable, rather than global. Enabling this                          option will use one slot of kernel per-thread data.                          You should ensure you have enough slots configured                          for all your per-thread data."            doc          ref/ecos-ref/c-and-math-library-overview-thread-safety.html            type         boolean            requires     CYGVAR_KERNEL_THREADS_DATA            parent       CYGPKG_LIBC_ERRNO        }        cdl_option CYGNUM_LIBC_ERRNO_TRACE_LEVEL {            display      "Tracing level"            description  "Trace verbosity level for debugging the errno                          retrieval mechanism in errno.cxx. Increase this                          value to get additional trace output."            type         count            legal_values 0 to 1            parent       CYGPKG_LIBC_ERRNO        }    }}CFG_DATA*/#define CYGSEM_LIBC_PER_THREAD_ERRNO#define CYGNUM_LIBC_ERRNO_TRACE_LEVEL 0//========================================================================// TIME OPTIONS/*    {{CFG_DATA        cdl_component CYGPKG_LIBC_TIME {            display      "Date/Time"            description  "Options for date and time related functions                          from <time.h>"            type         dummy            parent       CYGPKG_LIBC        }        cdl_option CYGSEM_LIBC_TIME_CLOCK_WORKING {            display      "Working clock() function"            description  "This option controls whether clock() will                          actually try and determine the process time                          usage. With this option disabled, clock() does                          not disappear, but will permanently return                          (clock_t)-1 as mandated by the ISO C standard."            type         boolean            requires     CYGFUN_KERNEL_THREADS_TIMER            requires     CYGVAR_KERNEL_COUNTERS_CLOCK            parent       CYGPKG_LIBC_TIME        }        cdl_option CYGSEM_LIBC_TIME_TIME_WORKING {            display      "Working time() function"            description  "This option controls whether time() will                          actually try and determine the current calendar                          time. With this option disabled, time() does                          not disappear, but will permanently return                          (time_t)-1 as mandated by the ISO C standard."            type         boolean            requires     CYGPKG_DEVICES_WALLCLOCK            parent       CYGPKG_LIBC_TIME        }        cdl_option CYGSEM_LIBC_TIME_SETTIME_WORKING {            display      "Working cyg_libc_time_settime() function"            description  "This option controls whether cyg_libc_time_settime()                          will actually try and set the current calendar                          time. With this option disabled,                          cyg_libc_time_settime() does not disappear, but                          will permanently return an error."            type         boolean            requires     CYGPKG_DEVICES_WALLCLOCK            parent       CYGPKG_LIBC_TIME        }        cdl_option CYGFUN_LIBC_TIME_POSIX {            display      "POSIX time functions"            description  "Enabling this option allows the use of the                          following functions defined in POSIX 1003.1:                          asctime_r(), ctime_r(), gmtime_r(), and                          localtime_r()."            type         boolean            parent       CYGPKG_LIBC_TIME        }        cdl_component CYGPKG_LIBC_TIME_ZONES {            display      "Time zone offsets"            description  "These options control the default STandarD (STD)                          and Daylight Savings Time (DST)                          time offsets so that dates can be set correctly                          for the local environment."            type         dummy            parent       CYGPKG_LIBC_TIME        }                cdl_option CYGNUM_LIBC_TIME_DST_DEFAULT_STATE {            display      "Default Daylight Savings Time state"            description  "This option controls whether the initial                          time environment is set up as STD, DST or                          unknown. Use the value 1 for DST, 0 for STD,                           and (-1) for unknown. This can also be set at                          runtime using the cyg_libc_time_setdst()                          function."            type         count            legal_values -1 to 1            parent       CYGPKG_LIBC_TIME_ZONES        }        cdl_option CYGNUM_LIBC_TIME_STD_DEFAULT_OFFSET {            display      "Default Standard Time offset"            description  "This option controls the offset from UTC in                          seconds when in local Standard Time. This                          value can be positive or negative. It                          can also be set at run time using the                          cyg_libc_time_setzoneoffsets() function."            type         count            legal_values -90000 to 90000            parent       CYGPKG_LIBC_TIME_ZONES        }                cdl_option CYGNUM_LIBC_TIME_DST_DEFAULT_OFFSET {            display      "Default Daylight Savings Time offset"            description  "This option controls the offset from UTC in                          seconds when in local Daylight Savings Time. This                          value can be positive or negative. It                          can also be set at run time using the                          cyg_libc_time_setzoneoffsets() function."            type         count            legal_values -90000 to 90000            parent       CYGPKG_LIBC_TIME_ZONES        }                cdl_component CYGPKG_LIBC_TIME_INLINES {            display      "Inline functions"            description  "These options control whether certain functions                          are available in inline form. This may lead to                          faster code at the expense of code space. But for                          some functions, or some functions with constant                          arguments, it may in fact lead to smaller code."            type         dummy            parent       CYGPKG_LIBC_TIME        }        cdl_option CYGIMP_LIBC_TIME_ASCTIME_INLINE {            display      "asctime()"            description  "Allow the asctime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_CTIME_INLINE {            display      "ctime()"            description  "Allow the ctime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_DIFFTIME_INLINE {            display      "difftime()"            description  "Allow the difftime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_GMTIME_INLINE {            display      "gmtime()"            description  "Allow the gmtime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_LOCALTIME_INLINE {            display      "localtime()"            description  "Allow the localtime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_MKTIME_INLINE {            display      "mktime()"            description  "Allow the mktime() function to be inlined"            type         boolean            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_ASCTIME_R_INLINE {            display      "asctime_r()"            description  "Allow the asctime_r() function to be inlined"            type         boolean            requires     CYGFUN_LIBC_TIME_POSIX            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_CTIME_R_INLINE {            display      "ctime_r()"            description  "Allow the ctime_r() function to be inlined"            type         boolean            requires     CYGFUN_LIBC_TIME_POSIX            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_GMTIME_R_INLINE {            display      "gmtime_r()"            description  "Allow the gmtime_r() function to be inlined"            type         boolean            requires     CYGFUN_LIBC_TIME_POSIX            parent       CYGPKG_LIBC_TIME_INLINES        }        cdl_option CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE {            display      "localtime_r()"            description  "Allow the localtime_r() function to be inlined"            type         boolean            requires     CYGFUN_LIBC_TIME_POSIX            parent       CYGPKG_LIBC_TIME_INLINES        }# FIXME: Also want "inline all" and "don't inline any" options which requires# (or not) all the above, but# if we do that then we will require the ones that also depend on# CYGFUN_LIBC_TIME_POSIX :-( Wait for full CDL to fix this        cdl_option CYGNUM_LIBC_TIME_CLOCK_TRACE_LEVEL {            display      "clock() tracing level"            description  "Trace verbosity level for debugging the clock()                          function. Increase this value to get                          additional trace output when tracing is enabled."            type         count            legal_values 0 to 1            parent       CYGPKG_LIBC_TIME        }    }}CFG_DATA*/#define CYGSEM_LIBC_TIME_CLOCK_WORKING#define CYGSEM_LIBC_TIME_TIME_WORKING#define CYGSEM_LIBC_TIME_SETTIME_WORKING#define CYGFUN_LIBC_TIME_POSIX#define CYGNUM_LIBC_TIME_DST_DEFAULT_STATE (-1)#define CYGNUM_LIBC_TIME_STD_DEFAULT_OFFSET 0#define CYGNUM_LIBC_TIME_DST_DEFAULT_OFFSET 3600#define CYGNUM_LIBC_TIME_CLOCK_TRACE_LEVEL 0#define CYGIMP_LIBC_TIME_ASCTIME_INLINE#define CYGIMP_LIBC_TIME_CTIME_INLINE#define CYGIMP_LIBC_TIME_DIFFTIME_INLINE#define CYGIMP_LIBC_TIME_GMTIME_INLINE#define CYGIMP_LIBC_TIME_LOCALTIME_INLINE#define CYGIMP_LIBC_TIME_MKTIME_INLINE#define CYGIMP_LIBC_TIME_ASCTIME_R_INLINE#define CYGIMP_LIBC_TIME_CTIME_R_INLINE#define CYGIMP_LIBC_TIME_GMTIME_R_INLINE#define CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE//========================================================================// MISCELLANEOUS DEFINES// These are not really adjustable by the user. Do not change these unless// you know what you are doing!// How to define inline functions#define CYGPRI_LIBC_INLINE extern __inline__// The following isn't supported yet - I'm leaving it for now#ifdef __GNUC__xxxxxx# define CYGPRI_LIBC_ATTRIB_FORMAT_STRFTIME \   __attribute__ ((format (strftime, 3)))#else# define CYGPRI_LIBC_ATTRIB_FORMAT_STRFTIME#endif// The following are only for compatibility, and will eventually be removed// once they are eliminated entirely from the code base#define CYGPRI_LIBC_WEAK CYGBLD_ATTRIB_WEAK// How to define aliases#define CYGPRI_LIBC_ALIAS(__symbol__) __attribute__ ((alias (__symbol__)))# define CYGPRI_LIBC_WEAK_ALIAS(__symbol__) \        CYGBLD_ATTRIB_WEAK CYGPRI_LIBC_ALIAS(__symbol__)// How to define functions that don't return#define CYGPRI_LIBC_NORETURN CYGBLD_ATTRIB_NORET#endif // CYGONCE_PKGCONF_LIBC_H multiple inclusion protection// EOF libc.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -