/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv07.c | 7 * Basic test for msgrcv(2) using MSG_EXCEPT, MSG_NOERROR, MSG_COPY and 62 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except() 64 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_EXCEPT) failed"); in test_msg_except() 68 tst_res(TPASS, "msgrcv(MSG_EXCEPT) succeeded"); in test_msg_except() 89 TEST(msgrcv(queue_id, &rcv_buf, msg_len, MSGTYPE1, MSG_NOERROR)); in test_msg_noerror() 91 tst_res(TFAIL | TTERRNO, "msgrcv(MSG_NOERROR) failed"); in test_msg_noerror() 95 tst_res(TPASS, "msgrcv(MSG_NOERROR) succeeded"); in test_msg_noerror() 122 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 0, MSG_COPY | IPC_NOWAIT)); in test_msg_copy() 129 tst_res(TFAIL | TTERRNO, "msgrcv(0, MSG_COPY) failed"); in test_msg_copy() 134 tst_res(TPASS, "msgrcv( in test_msg_copy() [all...] |
H A D | msgrcv05.c | 5 * msgrcv error test for EINTR. 33 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EINTR, in verify_msgrcv() 34 "msgrcv(%i, %p, %d, 1, 0)", queue_id, &rcv_buf, MSGSIZE); in verify_msgrcv()
|
H A D | msgrcv06.c | 5 * msgrcv error test for EIDRM. 27 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EIDRM, in verify_msgrcv() 28 "msgrcv(%i, %p, %d, 1, 0)", queue_id, &rcv_buf, MSGSIZE); in verify_msgrcv()
|
H A D | msgrcv03.c | 16 * 1)msgrcv(2) fails and sets errno to EINVAL if IPC_NOWAIT was not specified 18 * 2)msgrcv(2) fails and sets errno to EINVAL if IPC_EXCEPT was specified 20 * 3)msgrcv(2) fails and set errno to ENOMSG if IPC_NOWAIT and MSG_COPY were 62 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, tc->msg_type, MSG_COPY | tc->msg_flag), tc->exp_err, in verify_msgrcv() 63 "msgrcv(%i, %p, %i, %i, %i)", queue_id, &rcv_buf, MSGSIZE, tc->msg_type, MSG_COPY | tc->msg_flag); in verify_msgrcv()
|
H A D | msgrcv08.c | 10 * ipc: fix compat msgrcv with negative msgtyp 14 * 32-bit application using the msgrcv() system call 17 * msgrcv: No message of desired type 45 TEST(msgrcv(queue_id, &rcv_buf, sizeof(rcv_buf.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR)); in verify_msgrcv()
|
H A D | msgrcv02.c | 5 * Basic error test for msgrcv(2). 7 * 1)msgrcv(2) fails and sets errno to E2BIG if the message text length is 11 * queue, so msgrcv(2) fails and sets errno to EACCES. 13 * 3)msgrcv(2) fails and sets errno to EFAULT if the message buffer address 16 * 4)msgrcv(2) fails and sets errno to EINVAL if msqid was invalid(<0). 18 * 5)msgrcv(2) fails and sets errno to EINVAL if msgsize is less than 0. 20 * 6)msgrcv(2) fails and sets errno to ENOMSG if IPC_NOWAIT was specified in 66 TST_EXP_FAIL2(msgrcv(*tc->id, tc->buffer, tc->msgsz, tc->msgtyp, tc->msgflag), tc->exp_err, in verify_msgrcv() 67 "msgrcv(%i, %p, %i, %ld, %i)", *tc->id, tc->buffer, tc->msgsz, tc->msgtyp, tc->msgflag); in verify_msgrcv()
|
H A D | msgrcv01.c | 5 * msgrcv01 - test that msgrcv() receives the expected message 30 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0)); in verify_msgrcv() 32 tst_res(TFAIL | TTERRNO, "msgrcv failed"); in verify_msgrcv() 50 tst_res(TPASS, "PID of last msgrcv(2) matched"); in verify_msgrcv() 52 tst_res(TFAIL, "PID of last msgrcv(2) mismatched"); in verify_msgrcv()
|
/third_party/musl/libc-test/src/functional/ |
H A D | ipc_msg.c | 98 if (msgrcv(qid, &msg, 0, msgtyp, 0) != -1 || errno != E2BIG) in rcv() 99 t_error("msgrcv should have failed when msgsize==0 with E2BIG, got %s\n", strerror(errno)); in rcv() 102 T(msgrcv(qid, &msg, sizeof msg.data, msgtyp, IPC_NOWAIT)); in rcv() 107 if (msgrcv(qid, &msg, sizeof msg.data, msgtyp, MSG_NOERROR|IPC_NOWAIT) != -1 || errno != ENOMSG) in rcv() 108 t_error("msgrcv should have failed when ther is no msg with ENOMSG, got %s\n", strerror(errno)); in rcv()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
H A D | msgrcv.c | 7 ssize_t msgrcv(int q, void *m, size_t len, long type, int flag) in msgrcv() function
|
/third_party/musl/src/ipc/ |
H A D | msgrcv.c | 6 ssize_t msgrcv(int q, void *m, size_t len, long type, int flag) in msgrcv() function
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | msg.h | 39 ssize_t msgrcv (int, void *, size_t, long, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | msg.h | 39 ssize_t msgrcv (int, void *, size_t, long, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | msg.h | 39 ssize_t msgrcv (int, void *, size_t, long, int);
|
/third_party/musl/include/sys/ |
H A D | msg.h | 39 ssize_t msgrcv (int, void *, size_t, long, int);
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_msg.c | 27 {ssize_t(*p)(int,void*,size_t,long,int) = msgrcv;} in f()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | msg_comm.c | 56 TEST(msgrcv(id, &rec, sizeof(rec.mtext), 2, IPC_NOWAIT)); in chld1_msg() 58 tst_brk(TBROK | TERRNO, "msgrcv error"); in chld1_msg()
|
/third_party/ltp/libs/libltpipc/ |
H A D | libmsgctl.c | 52 size = msgrcv(id, &buffer, 100, type, 0); in doreader() 54 printf("msgrcv() error in child %d, read # = %d: %s\n", in doreader()
|
/third_party/ltp/lib/ |
H A D | tst_safe_sysv_ipc.c | 107 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv() 111 "msgrcv(%i, %p, %zu, %li, %x) failed", in safe_msgrcv() 115 "Invalid msgrcv(%i, %p, %zu, %li, %x) return value %ld", in safe_msgrcv()
|
/third_party/libuv/src/unix/ |
H A D | os390-syscalls.c | 165 if (msgrcv(lst->msg_queue, &msg, sizeof(msg.body), 0, 0) != sizeof(msg.body)) in init_message_queue()
|
H A D | os390.c | 756 msglen = msgrcv(ep->msg_queue, &msg, sizeof(msg), 0, IPC_NOWAIT); in os390_message_queue_handler()
|
/third_party/node/deps/uv/src/unix/ |
H A D | os390-syscalls.c | 165 if (msgrcv(lst->msg_queue, &msg, sizeof(msg.body), 0, 0) != sizeof(msg.body)) in init_message_queue()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
H A D | mod.rs | 488 pub fn msgrcv( in msgrcv() functions
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
H A D | mod.rs | 488 pub fn msgrcv( in msgrcv() functions
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
H A D | mod.rs | 469 pub fn msgrcv( in msgrcv() functions
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
H A D | mod.rs | 457 pub fn msgrcv( in msgrcv() functions
|