lseek(7, 0, SEEK_CUR) = 0
lseek(7, 0, SEEK_END) = 0
lseek(7, 0, SEEK_SET) = 0
Did i misuse the TFileStream class ?Is that your exact code? No delay in your loop?
Wouldn't inotify be a bit too much implementation to fix a trivial problem like this one? (However wouldn't i do lot s of syscall by using inotify in a loop like this).It depends on what you want to use this for.