On 3/26/06, Joshua Haberman <[EMAIL PROTECTED]> wrote:
> Is there any reason why "tail -f" doesn't use select or poll, instead
> of sleep?

Yes.  Plain files are always ready for reading, even if they are at
EOF.  That means that select(), poll() and epoll() will not tell you
if data has been appended to the file.

James.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to