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