[Gllug] OT: Replacement for select()
Richard Jones
rich at annexia.org
Fri Mar 9 14:38:50 UTC 2007
On Fri, Mar 09, 2007 at 12:36:05PM +0000, Mick Farmer wrote:
> In my C programs I use select() to find a file descriptor that
> has pending input. On UNIXes this works with both file
> descriptors and sockets.
Last time I looked (and that would be years ago), file descriptors
pointing to actual disk files could never be anything but ready to
give you data.
Rich.
--
Richard Jones
Red Hat
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list