summaryrefslogtreecommitdiff
path: root/nt/inc/sys/time.h
blob: 441b3faa65014f2b4ab5b0f8f49f4b33d48fbb16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SYS_TIME_H_INCLUDED
#define SYS_TIME_H_INCLUDED

/*
 * sys/time.h doesn't exist on NT
 */

struct timeval 
  {
    long tv_sec;	/* seconds */
    long tv_usec;	/* microseconds */
  };
struct timezone 
  {
    int	tz_minuteswest;	/* minutes west of Greenwich */
    int	tz_dsttime;	/* type of dst correction */
  };

void gettimeofday (struct timeval *, struct timezone *);

#endif /* SYS_TIME_H_INCLUDED */

/* end of sys/time.h */