view nt/inc/sys/time.h @ 49892:2d5ba0c9dd66

(POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 21 Feb 2003 08:04:13 +0000
parents 23a1cea22d13
children 695cf19ef79e
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 */