Searched refs:mqid (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ntp/adjtimed/ |
H A D | adjtimed.c | 64 static int mqid; variable 92 if ((mqid = msgget(KEY, 0)) != -1) { in main() 93 if (msgctl(mqid, IPC_RMID, (struct msqid_ds *)0) == -1) { in main() 195 if ((mqid = msgget(KEY, 0)) == -1) { in main() 219 if (msgrcv(mqid, &msg.msgp, MSGSIZE, CLIENT, 0) == -1) { in main() 235 while (msgsnd(mqid, &msg.msgp, MSGSIZE, 0) == -1) { in main() 473 if (msgctl(mqid, IPC_RMID, (struct msqid_ds *)0) == -1) { in Cleanup()
|
/freebsd/contrib/ntp/libntp/ |
H A D | adjtime.c | 215 register int mqid; in _adjtime() local 224 if ((mqid = msgget(KEY, 0)) == -1) in _adjtime() 237 if (msgsnd(mqid, &msgp->msgp, MSGSIZE, 0) == -1) in _adjtime() 240 if (msgrcv(mqid, &msgp->msgp, MSGSIZE, SERVER, 0) == -1) in _adjtime()
|