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

📄 ftime.h

📁 C语言库函数的源代码,是C语言学习参考的好文档。
💻 H
字号:
/* +++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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -