Salut,

roktas <roktas / omu.edu.tr> a ˝─rit :

....
> As an urgent help: you have to check the EOF (otherwise results with
> an infinite loop), instead of loop { .. } try something like this:

Thank you but it is what I want, an infinite loop. My program must read
continuously (I don't know if the term is correct) the file, and when it
is on the eof, wait for something with select then loop again.

Jean