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

📄 time.h

📁 EMU_FTAbox_ref441328_code_source ali m3327
💻 H
字号:

/****************************************************************************
*
*  ALi 
*
*  File: time.h
*
*  Description: 
*             
*  History:
*      Date        		Author         	Version   	Comment
*      ====        	      ======         	=======   	=======
*  		
*
****************************************************************************/

#ifndef __LIB_C_TIME_H__
#define __LIB_C_TIME_H__


typedef	long	time_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;
};

#ifdef __cplusplus
extern "C"
{
#endif

time_t time(time_t *t);
void setime(time_t t);
struct tm *gmtime_r(const time_t *tim_p, struct tm * res);
time_t mktime(struct tm * tim_p);


#ifdef __cplusplus
}
#endif

#endif /* __LIB_C_TIME_H__ */

⌨️ 快捷键说明

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