File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / ports / winnt / include / sys / time.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (13 years, 1 month ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

/*
 * ports/winnt/include/sys/time.h
 *
 * routines declared in Unix systems' sys/time.h
 */

#ifndef SYS_TIME_H
#define SYS_TIME_H

#include <config.h>
#include <windows.h>
#include "ntp_types.h"
#include <time.h>
#include <sys/timeb.h>

typedef struct timespec {
	time_t	tv_sec;
	long	tv_nsec;
} timespec_t;

#define TIMEOFDAY	0	/* getclock() clktyp arg */
extern int getclock(int, struct timespec *ts);
extern int gettimeofday(struct timeval *, int);
extern int settimeofday(struct timeval *);

#endif /* SYS_TIME_H */

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