[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
poll() on regular files
Hi there,
I'm trying to watch a regular file for modification i.e. added data.
I'm using poll() on the fd, but it triggers over and over once i have read to
the end of the file.
poll() immediately returns POLLIN but there are 0 bytes to read from the fd.
Any hints?
....Volker
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ