Searched defs:fd_signal (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/
H A Dudevd.c354 _cleanup_close_ int fd_signal = -1, fd_ep = -1; local
381 fd_signal = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC);
382 if (fd_signal < 0) {
386 ep_signal.data.fd = fd_signal;
397 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_signal, &ep_signal) < 0 ||
511 } else if (ev[i].data.fd == fd_signal && ev[i].events & EPOLLIN) {
515 size = read(fd_signal, &fdsi, sizeof(struct signalfd_siginfo));

Completed in 15 milliseconds