[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: poll() on regular files
On Monday 04 February 2008, Volker wrote:
> 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.
What about inotify?
Bye..Frank
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ