Home
last modified time | relevance | path

Searched refs:pb_fd (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/power/
H A Dpowerd.c104 static int pb_fd; /* power button driver */ variable
303 if ((pb_fd = open(PB, O_RDONLY)) != -1) { in main()
491 if (pb_fd != -1) { in kill_handler()
492 (void) close(pb_fd); in kill_handler()
1169 if (ioctl(pb_fd, PB_BEGIN_MONITOR, NULL) == -1) { in power_button_monitor()
1174 pfd.fd = pb_fd; in power_button_monitor()