ace++Inotify is controlled by a device node, /dev/inotify. If you do not use udev,+this device may need to be created manually.++First step in using inotify is to open the device file:++ int dev_fd = open (/dev/inotify, O_RDONLY);++Change events are managed by watches". A watch is an (object,mask) pair where+the object is a file or directory and the mask is a bitmask of one or more+inotify ev