liveserver

simple live web server for local developments
git clone https://noulin.net/git/liveserver.git
Log | Files | Refs | README | LICENSE

inoty.h (295B)


      1 
      2 #include <sys/inotify.h>
      3 
      4 #define EVENT_SIZE  ( sizeof (struct inotify_event) )
      5 #define EVENT_BUF_LEN     ( 1024 * ( EVENT_SIZE + 16 ) )
      6 
      7 #define inotiFy_init inotify_init
      8 #define inotiFy_add_watch inotify_add_watch
      9 #define inotiFy_event inotify_event
     10 #define inotiFy_rm_watch inotify_rm_watch