Searched refs:MSG_COPY (Results 1 - 6 of 6) sorted by relevance
/third_party/ltp/include/lapi/ |
H A D | msg.h | 12 #ifndef MSG_COPY 13 # define MSG_COPY 040000 /* copy (not remove) all queue messages */ macro
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv03.c | 6 * This is a basic test about MSG_COPY flag. 20 * 3)msgrcv(2) fails and set errno to ENOMSG if IPC_NOWAIT and MSG_COPY were 47 "EINVAL for MSG_COPY without IPC_NOWAIT"}, 50 "EINVAL for MSG_COPY with MSG_EXCEPT"}, 53 "ENOMSG with IPC_NOWAIT and MSG_COPY but with less than msgtyp messages"}, 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 | msgrcv07.c | 7 * Basic test for msgrcv(2) using MSG_EXCEPT, MSG_NOERROR, MSG_COPY and 16 * * With MSG_COPY and IPC_NOWAIT flag read the msg but don't destroy it in 112 tst_res(TCONF, "MSG_COPY not supported"); in test_msg_copy() 119 * If MSG_COPY flag was specified, then mtype is interpreted as number in test_msg_copy() 122 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 0, MSG_COPY | IPC_NOWAIT)); in test_msg_copy() 126 "MSG_COPY needs CONFIG_CHECKPORINT_RESTORE"); in test_msg_copy() 129 tst_res(TFAIL | TTERRNO, "msgrcv(0, MSG_COPY) failed"); in test_msg_copy() 134 tst_res(TPASS, "msgrcv(0, MSG_COPY) succeeded"); in test_msg_copy() 137 tst_res(TPASS, "MSG_COPY got MSGTYPE1 data correctly"); in test_msg_copy() 139 tst_res(TFAIL, "MSG_COPY go in test_msg_copy() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
H A D | mod.rs | 277 pub const MSG_COPY: ::c_int = 040000; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2430 pub const MSG_COPY: ::c_int = 0o40000; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1907 pub const MSG_COPY: ::c_int = 0o40000; consts
|
Completed in 25 milliseconds