Home
last modified time | relevance | path

Searched refs:nfd (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/util-linux/
Dacpid.c254 int nfd; in acpid_main() local
309 nfd = 0; in acpid_main()
314 dev_event = xasprintf((opts & OPT_e) ? "%s" : "%s%u", opt_input, nfd); in acpid_main()
317 if (nfd == 0) in acpid_main()
322 pfd = xrealloc_vector(pfd, 1, nfd); in acpid_main()
323 pfd[nfd].fd = fd; in acpid_main()
324 pfd[nfd].events = POLLIN; in acpid_main()
325 nfd++; in acpid_main()
330 while (safe_poll(pfd, nfd, -1) > 0) { in acpid_main()
332 for (i = 0; i < nfd; i++) { in acpid_main()
[all …]
/busybox-1.35.0/miscutils/
Dmicrocom.c57 int nfd; in microcom_main() local
138 nfd = 2; in microcom_main()
140 while (!bb_got_signal && poll(pfd, nfd, timeout) > 0) { in microcom_main()
141 if (nfd > 1 && pfd[1].revents) { in microcom_main()
146 nfd--; in microcom_main()