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

/openbsd-current/lib/libc/sys/
H A Dw_msgsnd.c22 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) function
27 ret = HIDDEN(msgsnd)(msqid, msgp, msgsz, msgflg);
31 DEF_CANCEL(msgsnd); variable
H A DMakefile.inc33 msgrcv msgsnd msync \
193 msgget.2 msgrcv.2 msgsnd.2 msync.2 munmap.2 nanosleep.2 \
/openbsd-current/lib/libc/hidden/sys/
H A Dmsg.h26 PROTO_CANCEL(msgsnd); variable
/openbsd-current/gnu/usr.bin/perl/t/io/
H A Dmsg.t54 if (ok(msgsnd($id, $msg, IPC_NOWAIT), "send a message")) {
62 if (ok(msgsnd($id, $umsg, IPC_NOWAIT), "send a message (upgraded)")) {
69 if (ok(msgsnd($id, $msg, IPC_NOWAIT), "send a message (upgraded receiver)")) {
/openbsd-current/regress/lib/libc/sys/
H A Dt_msgsnd.c76 atf_tc_set_md_var(tc, "descr", "Test that msgsnd(2) blocks");
102 if (msgsnd(id, &msg, sizeof(struct msg), 0) < 0)
112 atf_tc_fail("msgsnd(2) did not block");
126 "Test that msgsnd(2) increments the amount of "
144 rv = msgsnd(id, &msg, sizeof(struct msg), IPC_NOWAIT);
174 atf_tc_set_md_var(tc, "descr", "Test errors from msgsnd(2)");
187 ATF_REQUIRE_ERRNO(EFAULT, msgsnd(id, (void *)-1,
192 ATF_REQUIRE_ERRNO(EINVAL, msgsnd(-1, &msg,
197 ATF_REQUIRE_ERRNO(EINVAL, msgsnd(-1, &msg,
203 ATF_REQUIRE_ERRNO(EINVAL, msgsnd(i
[all...]
H A Dt_msgrcv.c89 (void)msgsnd(id, &msg1, MSG_LEN, IPC_NOWAIT);
131 * Below msgsnd(2) should unblock the child,
135 (void)msgsnd(id, &msg, MSG_LEN, IPC_NOWAIT);
170 ATF_REQUIRE(msgsnd(id, &msg, MSG_LEN, IPC_NOWAIT) == 0);
187 ATF_REQUIRE(msgsnd(id, &msg, MSG_LEN, IPC_NOWAIT) == 0);
218 (void)msgsnd(id, &msg1, MSG_LEN, IPC_NOWAIT);
259 ATF_REQUIRE(msgsnd(id, &msg, MSG_LEN, IPC_NOWAIT) == 0);
318 (void)msgsnd(id, &msg1, MSG_LEN, IPC_NOWAIT);
H A Dt_getrusage.c170 long msgsnd; local
175 msgsnd = ru.ru_msgsnd;
190 ATF_REQUIRE(msgsnd + 10 == ru.ru_msgsnd);
H A Dt_msgctl.c208 (void)msgsnd(id, &msg, sizeof(struct msg), IPC_NOWAIT);
220 atf_tc_fail("the PID of last msgsnd(2) was not updated");
319 (void)msgsnd(id, &msg, sizeof(struct msg), IPC_NOWAIT);
323 atf_tc_fail("time of last msgsnd(2) was not updated");
341 atf_tc_fail("time of last msgsnd(2) was updated incorrectly");
/openbsd-current/regress/sys/kern/sysvmsg/
H A Dmsgtest.c186 if (msgsnd(sender_msqid, &m, sizeof(m), 0) == -1)
187 err(1, "sender: msgsnd 1");
200 if (msgsnd(sender_msqid, &m, sizeof(m), 0) == -1)
201 err(1, "sender: msgsnd 2");
334 if (msgsnd(msqid, &m, sizeof(m), 0) == -1)
335 err(1, "receiver: msgsnd ack 1");
351 if (msgsnd(msqid, &m, sizeof(m), 0) == -1)
352 err(1, "receiver: msgsnd ack 2");
/openbsd-current/sys/sys/
H A Dmsg.h45 pid_t msg_lspid; /* pid of last msgsnd() */
47 time_t msg_stime; /* time of last msgsnd() */
150 int msgsnd(int, const void *, size_t, int);
/openbsd-current/gnu/usr.bin/perl/dist/Safe/t/
H A Dsafeops.t406 msgsnd msgsnd
/openbsd-current/gnu/usr.bin/perl/ext/Pod-Functions/t/
H A DFunctions.t145 msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop,
/openbsd-current/gnu/usr.bin/perl/lib/B/
H A DDeparse-core.t579 msgsnd 3 p
/openbsd-current/gnu/gcc/gcc/
H A Dsys-protos.h745 extern int msgsnd(int, const void *, size_t, int);
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dsys-protos.h745 extern int msgsnd(int, const void *, size_t, int);
/openbsd-current/gnu/usr.bin/perl/
H A Dsyscall_emulator.c1112 ret = msgsnd(msqid, msgp, msgsz, msgflg);
H A Ddoio.c3197 Perl_croak(aTHX_ "Arg too short for msgsnd");
3200 return msgsnd(id, (struct msgbuf *)mbuf, msize, flags);
3209 Perl_croak(aTHX_ "msgsnd not implemented");
H A DConfigure16618 : see if msgsnd exists
16619 set msgsnd d_msgsnd
16643 set msgsnd d_msgsnd
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dtaint.t1612 if (msgsnd($id, pack("l! a*", $type_sent, $sent), IPC_NOWAIT)) {
1619 warn "# msgsnd failed: $!\n";
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3334 INTERCEPTOR(int, msgsnd, int msqid, const void *msgp, SIZE_T msgsz,
3337 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3340 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3355 COMMON_INTERCEPT_FUNCTION(msgsnd); \

Completed in 410 milliseconds