Annotation of embedaddon/ntp/ports/winnt/ppsapi/skelprov/sys/time.h, revision 1.1.1.1

1.1       misho       1: /*
                      2:  * This sys/time.h is part of ppsapi-prov skeleton sample source code
                      3:  * for a Windows PPSAPI provider DLL.  It was adapted from
                      4:  * ports/winnt/include/sys/time.h in ntpd.
                      5:  */
                      6: 
                      7: #ifndef SYS_TIME_H
                      8: #define SYS_TIME_H
                      9: 
                     10: #include <windows.h>
                     11: #include <time.h>
                     12: 
                     13: typedef struct timespec {
                     14:        time_t  tv_sec;
                     15:        long    tv_nsec;
                     16: } timespec_t;
                     17: 
                     18: #endif /* SYS_TIME_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>