Re: 1.5.19: timeval struct not correct defined

2006-02-12 Thread Corinna Vinschen
On Feb 11 19:59, Johnny Willemsen wrote: > Hi, > > In sys/time.h the timeval struct is defined as: > > struct timeval { > long tv_sec; > long tv_usec; > }; > > It should be > > struct timeval { > time_t tv_sec; > suseconds_t tv_usec; > }; > > See the following link for the opengroup s

1.5.19: timeval struct not correct defined

2006-02-11 Thread Johnny Willemsen
Hi, In sys/time.h the timeval struct is defined as: struct timeval { long tv_sec; long tv_usec; }; It should be struct timeval { time_t tv_sec; suseconds_t tv_usec; }; See the following link for the opengroup standard http://www.opengroup.org/onlinepubs/007908799/xsh/systime.h.html T