| 62 | OSIPS_LIST_HEAD(rtpp_notify_fds); |
| 63 | |
| 64 | static void free_rtpp_notify(int fd, struct rtpp_notify *notify) |
| 65 | { |
| 66 | reactor_proc_del_fd(fd, -1, IO_FD_CLOSING); |
| 67 | if (notify) { |
| 68 | if (notify->linked) |
| 69 | list_del(¬ify->list); |
| 70 | if (notify->remaining) |
| 71 | pkg_free(notify->remaining); |
| 72 | pkg_free(notify); |
| 73 | } |
| 74 | shutdown(fd, SHUT_RDWR); |
| 75 | close(fd); |
| 76 | } |
| 77 | |
| 78 | static int set_nonblocking(int fd) |
| 79 | { |
no test coverage detected