time.h

来自「ADS环境下的类似linux内核的操作系统」· C头文件 代码 · 共 39 行

H
39
字号
/* MShowTec - www.mshowtec.com
** msLinux time.h ver1.0
** 20051221 lmjx create limiao@mshowtec.com
** 
*/

#ifndef MSLINUX_TIME_H
#define MSLINUX_TIME_H

#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
#endif

#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif

#define CLOCKS_PER_SEC 100	

typedef long clock_t;

struct tm
{
  int tm_sec;
  int tm_min;
  int tm_hour;
  int tm_mday;
  int tm_mon;
  int tm_year;
  int tm_wday;
  int tm_yday;
  int tm_isdst;
};

extern long startup_time;

#endif

⌨️ 快捷键说明

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