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

📄 time.h

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 H
字号:
/* * * *  $Id: time.h,v 1.5 1996/09/17 21:26:25 joel Exp $ */#ifndef __RTEMS_POSIX_TIME_h#define __RTEMS_POSIX_TIME_h#include <rtems/score/tod.h>/* *  Seconds from January 1, 1970 to January 1, 1988.  Used to account for *  differences between POSIX API and RTEMS core. */ #define POSIX_TIME_SECONDS_1970_THROUGH_1988 \  (((1987 - 1970 + 1)  * TOD_SECONDS_PER_NON_LEAP_YEAR) + \  (4 * TOD_SECONDS_PER_DAY))/*PAGE * *  _POSIX_Timespec_subtract */ void _POSIX_Timespec_subtract(  const struct timespec *the_start,  const struct timespec *end,  struct timespec *result);/* *  _POSIX_Timespec_to_interval */Watchdog_Interval _POSIX_Timespec_to_interval(  const struct timespec *time);/*PAGE * *  _POSIX_Interval_to_timespec */ void _POSIX_Interval_to_timespec(  Watchdog_Interval  ticks,  struct timespec   *time);#endif

⌨️ 快捷键说明

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