Lines Matching refs:master_fd
66 static int master_fd = -1; variable
81 watch_list_free(master_fd); in done()
82 close(master_fd); in done()
122 close(master_fd); in term_handler()
192 master_fd = inotify_init(); in main()
193 if (master_fd < 0) in main()
204 return server(master_fd, user_watch_file); in main()
206 return server(master_fd, user_watch_file); in main()
210 read_config(master_fd, watch_file); in main()
219 while (watch(master_fd, watch_file) == 0) { in main()
222 watch_list_free(master_fd); in main()
223 close(master_fd); in main()