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

/freebsd-current/usr.sbin/apmd/
H A Dapmd.c57 int apmctl_fd = -1, apmnorm_fd = -1; variable
171 if (ioctl(apmctl_fd, APMIO_REJECTLASTREQ, NULL)) {
343 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) {
396 if (write(apmctl_fd, &event_type, sizeof(u_int)) == -1) {
582 FD_SET(apmctl_fd, &master_rfds);
583 fdmax = apmctl_fd > fdmax ? apmctl_fd : fdmax;
628 if (FD_ISSET(apmctl_fd, &rfds))
629 proc_apmevent(apmctl_fd);
689 if ((apmctl_fd
[all...]

Completed in 158 milliseconds