ftime.h
来自「c语言库函数!里面包含了所以c语言中的系统函数的实现及其详细说明和代码!请大家及」· C头文件 代码 · 共 36 行
H
36 行
/* +++Date last modified: 05-Jul-1997 */
/*
** Public domain by Jeff Dunlop
*/
#ifndef FTIME__H
#define FTIME__H
#include <dos.h>
#include <time.h>
#if !defined(__TURBOC__) && !defined(__SC__) && !defined(__POWERC)
struct ftime /* As defined by Borland & Symantec */
{
unsigned ft_tsec : 5; /* Two second interval */
unsigned ft_min : 6; /* Minutes */
unsigned ft_hour : 5; /* Hours */
unsigned ft_day : 5; /* Days */
unsigned ft_month : 4; /* Months */
unsigned ft_year : 7; /* Year */
};
int getftime (int, struct ftime *);
int setftime (int, struct ftime *);
#else
#include <io.h>
#endif
void ftime2tm(struct ftime *ft, struct tm *time);
time_t ftime2time(struct ftime *ft);
#endif /* FTIME__H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?