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

/freebsd-current/usr.sbin/powerd/
H A Dpowerd.c126 static int devd_pipe = -1; variable
336 rlen = read(devd_pipe, buf, sizeof(buf));
408 if ((devd_pipe = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0)) < 0) {
416 if (connect(devd_pipe, (struct sockaddr *)&devd_addr,
420 close(devd_pipe);
421 devd_pipe = -1;
425 return (devd_pipe);
432 close(devd_pipe);
433 devd_pipe = -1;
683 if (devd_pipe >
[all...]

Completed in 63 milliseconds