Searched refs:ufds (Results 1 – 1 of 1) sorted by relevance
36 static struct pollfd *ufds; variable361 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); in open_device()366 ufds = new_ufds; in open_device()402 ufds[nfds].fd = fd; in open_device()403 ufds[nfds].events = POLLIN; in open_device()420 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count); in close_device()613 ufds = calloc(1, sizeof(ufds[0])); in getevent_main()614 ufds[0].fd = inotify_init(); in getevent_main()615 ufds[0].events = POLLIN; in getevent_main()627 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); in getevent_main()[all …]