|
Monitoring log file changes from c++ app
I'm trying to monitorize changes in a log file, but I don't figure out how to do it. I wish to do something similar to select() function used to detect changes in a socket, but I don't fin the way to do it, I mean, some c++ function that keeps idle until the selected file changes, and then returns a result showing the change that has happened.
Thanks in advance.
|