summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/SNIP/ftime.h
blob: 99c012c9bd1ed4981d8682d271f3c7056c508295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
**  Public domain by Jeff Dunlop
*/

#ifndef __TURBOC__

struct ftime /* As defined by Borland C */
{
    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 _cdecl getftime (int, struct ftime *);
int _cdecl setftime (int, struct ftime *);

#endif /* __TURBOC__ */