Searched refs:msgfd (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/cron/ |
H A D | funcs.c | 155 static int msgfd = -2; in cron_sendmsg() local 161 if (msgfd == -2) { in cron_sendmsg() 162 if ((msgfd = open(FIFO, O_WRONLY|O_NDELAY)) < 0) { in cron_sendmsg() 177 if ((i = write(msgfd, pmsg, sizeof (struct message))) < 0) in cron_sendmsg()
|
H A D | cron.c | 252 static int msgfd; /* file descriptor for fifo queue */ variable 532 (void) close(msgfd); in main() 713 if ((msgfd = open(FIFO, O_RDWR)) < 0) { in initialize() 2788 FD_SET(msgfd, &fds); in msg_wait() 2805 cnt = pselect(msgfd + 1, &fds, NULL, NULL, toutp, &defmask); in msg_wait() 2814 if ((cnt = read(msgfd, &msg, sizeof (msg))) != sizeof (msg)) { in msg_wait()
|
/titanic_50/usr/src/cmd/tzreload/ |
H A D | tzreload.c | 381 int msgfd; in send_cron_msg() local 393 if ((msgfd = open(fifo, O_WRONLY|O_NDELAY)) < 0) { in send_cron_msg() 415 if (write(msgfd, &msg, sizeof (msg)) != sizeof (msg)) { in send_cron_msg() 419 (void) close(msgfd); in send_cron_msg()
|