view nt/inc/sys/time.h @ 44065:fca68830d4e0

(DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch removed the wrong version of the DEFUN macro; fixed it.
author Kim F. Storm <storm@cua.dk>
date Thu, 21 Mar 2002 12:17:51 +0000
parents fa66d09c3310
children 23a1cea22d13
line wrap: on
line source

#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 */