Annotation of embedaddon/ntp/ports/winnt/include/sys/time.h, revision 1.1.1.1
1.1 misho 1: /*
2: * ports/winnt/include/sys/time.h
3: *
4: * routines declared in Unix systems' sys/time.h
5: */
6:
7: #ifndef SYS_TIME_H
8: #define SYS_TIME_H
9:
10: #include <config.h>
11: #include <windows.h>
12: #include "ntp_types.h"
13: #include <time.h>
14: #include <sys/timeb.h>
15:
16: typedef struct timespec {
17: time_t tv_sec;
18: long tv_nsec;
19: } timespec_t;
20:
21: #define TIMEOFDAY 0 /* getclock() clktyp arg */
22: extern int getclock(int, struct timespec *ts);
23: extern int gettimeofday(struct timeval *, int);
24: extern int settimeofday(struct timeval *);
25:
26: #endif /* SYS_TIME_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>