From: drew@ophelia.cs.colorado.edu (Drew Eckhardt) Subject: Re: select() ? Date: Thu, 11 Feb 1993 23:14:42 GMT
In article <1lbpfv$b6g@smurf.sub.org> urlichs@smurf.sub.org (Matthias Urlichs) writes:
>Why does select() change the timeout (last argument)?
>
>- I checked the manpages of Ultrix and SunOS. Neither says that the
> timeout argument is changed.
From the BSD4.3 select(2) man page :
Select should probably return the time remaining from the
original timeout, if any, by modifying the time value in
place. This may be implemented in future versions of the
system. Thus, it is unwise to assume that the timeout value
will be unmodified by the select call.
-- Boycott AT&T for their absurd anti-BSDI lawsuit. | Drew Eckhardt Condemn Colorado for Amendment Two. | drew@cs.colorado.edu Use Linux, the fast, flexible, and free 386 unix |