How can I know if a file changes? Just like the tail command, I want to know when lines are added to a file, and be able to read them. My first thougt was to use select or something, but I dont get it to work. If I register on POLLIN I get events all the time... :-P /Magnus