📄 time.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * time.h * * * Reference time/date 1/1/1985 00:00:00 * No. of valid years From 1985 to 2053 or so */#ifndef __STDFILE_SYS_TIME_H__#define __STDFILE_SYS_TIME_H__#include "types.h"#ifdef __cplusplusextern "C" {#endifstruct timespec { time_t tv_sec; /* Second */ long tv_nsec; /* Nanosecond */};struct timeval { long tv_sec; /* Second */ long tv_usec; /* Microsecond */};/* * System call */extern int utimes( const char *path, const struct timeval times[2] );#ifdef __cplusplus}#endif#endif /* __STDFILE_SYS_TIME_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -