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

/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c612 int tod_fd = -1; local
718 tod_fd = open(TOD, O_RDWR);
719 if (info->pd_autoresume && tod_fd != -1) {
731 (void) close(tod_fd);
734 if (ioctl(tod_fd, TOD_SET_ALARM,
738 (void) close(tod_fd);
746 if (info->pd_autoresume && tod_fd != -1) {
747 if (ioctl(tod_fd, TOD_CLEAR_ALARM,
751 (void) close(tod_fd);

Completed in 58 milliseconds