May 27, 2001 #1 Bangieff Technical User Feb 12, 2001 52 BG Hi all Can anyone tell me how may I untherstand immediatly when a file has been changed without looping? thanks
Hi all Can anyone tell me how may I untherstand immediatly when a file has been changed without looping? thanks
May 28, 2001 #3 sramki Programmer May 8, 2001 27 IN use the stat command . stat <filename> u can use the ctime(member of stat ) to see whether the file has changed or not regards sramki Upvote 0 Downvote
use the stat command . stat <filename> u can use the ctime(member of stat ) to see whether the file has changed or not regards sramki
May 29, 2001 Thread starter #4 Bangieff Technical User Feb 12, 2001 52 BG What I meaned was without looping... If I use some of these methods I shoud do something like while(1) { lstat("file.dat",filestat); .... } but I want to avoid this "while" loop.... Upvote 0 Downvote
What I meaned was without looping... If I use some of these methods I shoud do something like while(1) { lstat("file.dat",filestat); .... } but I want to avoid this "while" loop....