Searched refs:apmnorm_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
527 if ( ioctl(apmnorm_fd, APMIO_GETINFO, &pw_info) < 0)
542 if ( ioctl(apmnorm_fd, APMIO_GETINFO, &pw_info) < 0)
686 if ((apmnorm_fd = open(APM_NORM_DEVICEFILE, O_RDWR)) == -1) {
690 if (fcntl(apmnorm_fd, F_SETFD, 1) == -1) {

Completed in 64 milliseconds