Searched refs:apmctl_fd (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.sbin/apmd/
H A Dapmd.c62 int apmctl_fd = -1, apmnorm_fd = -1; variable
176 if (ioctl(apmctl_fd, APMIO_REJECTLASTREQ, NULL)) {
348 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) {
401 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) {
587 FD_SET(apmctl_fd, &master_rfds);
588 fdmax = apmctl_fd > fdmax ? apmctl_fd : fdmax;
633 if (FD_ISSET(apmctl_fd, &rfds))
634 proc_apmevent(apmctl_fd);
694 if ((apmctl_fd
[all...]

Completed in 47 milliseconds