minix/include/sys/time.h
2005-06-10 15:12:03 +00:00

22 lines
418 B
C

/*
sys/time.h
*/
#ifndef _SYS__TIME_H
#define _SYS__TIME_H
#include <ansi.h>
/* Open Group Base Specifications Issue 6 (not complete) */
struct timeval
{
long /*time_t*/ tv_sec;
long /*useconds_t*/ tv_usec;
};
int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
/* Compatibility with other Unix systems */
int settimeofday(const struct timeval *tp, const void *tzp);
#endif /* _SYS__TIME_H */