Reputation: 616
I'm programming in C in unix OS and I'm stuck in a problem.
I need to operate in some files selected by the user and check if some token string is in there, but it only makes sense if it checks the file when it is changed. So I thought to use a SIGALARM
that every second checks the modification date of the file but it seems that it isn't "good".
Is there any other way to do it? OS has any tweak to use in order to become easier?
Thanks.
Upvotes: 0
Views: 80