Searched refs:apmnorm_fd (Results 1 – 1 of 1) sorted by relevance
57 int apmctl_fd = -1, apmnorm_fd = -1; variable522 if ( ioctl(apmnorm_fd, APMIO_GETINFO, &pw_info) < 0) in check_battery()537 if ( ioctl(apmnorm_fd, APMIO_GETINFO, &pw_info) < 0) in check_battery()681 if ((apmnorm_fd = open(APM_NORM_DEVICEFILE, O_RDWR)) == -1) { in main()685 if (fcntl(apmnorm_fd, F_SETFD, 1) == -1) { in main()