> AFAIK yes for sockets, not for file descriptor (i.e. descriptor
> open to a file on filesystem). Would poll() give you read-availability
> event when on end of file on filesystem.
IIRC poll() is required to report that files are always readable.
(So tail -f can't use poll() to avoid looping.)

This is consistent with poll reporting whether a (blocking) read
would return.

        David

-- 
David Laight: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to