view nt/inc/sys/time.h @ 142:1856695b1fa9 r20-2b5

Import from CVS: tag r20-2b5
author cvs
date Mon, 13 Aug 2007 09:33:18 +0200
parents 7d55a9ba150c
children 2f8bb876ab1d
line wrap: on
line source

/*
 * sys/time.h doesn't exist on NT
 */

#include <time.h>

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 */
  };

#ifndef HAVE_X_WINDOWS
/* X11R6 on NT provides the single parameter version of this command */
void gettimeofday (struct timeval *, struct timezone *);
#endif

/* end of sys/time.h */