lkml.org 
[lkml]   [1997]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to tell if data is available for a file descriptor
Date
> However, I noticed what looks like an error in my manpage over here.
>
> timeout is an upper bound on the amount of time elapsed
> before select returns. It may be zero, causing select to
> return immediately. If timeout is NULL (no timeout),
> select can block indefinitely.

No its an error in your reading of it. timeout is a struct pointer. NULL
means nothing, a timeval of {0,0} means don't wait


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.024 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site