Simple example program to test Linux inotify api. Watches provided sample
file for metadata and modify changes.
Build using CMake
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make
After build run with
./inotify
While running try to touch sample
file or modify it and save. You should see program print events to the terminal.
MIT license