Home
last modified time | relevance | path

Searched refs:msgget (Results 1 - 25 of 25) sorted by relevance

/third_party/musl/libc-test/src/functional/
H A Dipc_msg.c42 T(qid = msgget(k, IPC_CREAT|0666)); in snd()
44 T(qid = msgget(k, IPC_CREAT|IPC_EXCL|0666)); in snd()
51 if (msgget(k, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in snd()
52 t_error("msgget(IPC_CREAT|IPC_EXCL) should have failed with EEXIST, got %s\n", strerror(errno)); in snd()
54 /* check if msgget initilaized the msqid_ds structure correctly */ in snd()
95 T(qid = msgget(k, 0)); in rcv()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
H A Dmsgget03.c30 TST_EXP_FAIL2(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL), ENOSPC, in verify_msgget()
31 "msgget(%i, %i)", msgkey + maxmsgs, IPC_CREAT | IPC_EXCL); in verify_msgget()
50 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup()
52 tst_brk(TBROK | TERRNO, "msgget failed unexpectedly"); in setup()
H A Dmsgget01.c33 TEST(msgget(msgkey, IPC_CREAT | MSG_RW)); in verify_msgget()
35 tst_res(TFAIL | TTERRNO, "msgget() failed"); in verify_msgget()
H A Dmsgget02.c11 * - msgget(2) fails if a message queue exists for key and msgflg
13 * - msgget(2) fails if no message queue exists for key and msgflg
15 * - msgget(2) fails if a message queue exists for key, but the
52 TST_EXP_FAIL2(msgget(*tc->key, tc->flags), tc->exp_err, "msgget(%i, %i)", in verify_msgget()
/third_party/ltp/libs/libltpipc/
H A Dlibmsgctl.c36 id = msgget(key, 0); in doreader()
38 printf("msgget() error in the reader of child group %d: %s\n", in doreader()
92 id = msgget(key, 0); in dowriter()
94 printf("msgget() error in the writer of child group %d: %s\n", in dowriter()
/third_party/musl/porting/liteos_a/user/src/ipc/
H A Dmsgget.c7 int msgget(key_t k, int flag) in msgget() function
/third_party/musl/src/ipc/
H A Dmsgget.c6 int msgget(key_t k, int flag) in msgget() function
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmsg.h38 int msgget (key_t, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmsg.h38 int msgget (key_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmsg.h38 int msgget (key_t, int);
/third_party/musl/include/sys/
H A Dmsg.h38 int msgget (key_t, int);
/third_party/musl/libc-test/src/api/
H A Dsys_msg.c26 {int(*p)(key_t,int) = msgget;} in f()
/third_party/ltp/testcases/kernel/containers/sysvipc/
H A Dmesgq_nstest.c50 id = msgget(KEY_VAL, 0); in check_mesgq()
/third_party/toybox/toys/pending/
H A Dipcrm.c55 (ipc == 2)? msgget(id, 0): semget(id, 0, 0)); in do_ipcrm()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
H A Dmsgstress01.c208 TEST(msgget(key, IPC_CREAT | S_IRUSR | S_IWUSR)); in dotest()
210 printf("msgget() error in child %d: %s\n", in dotest()
H A Dmsgstress03.c214 TEST(msgget(key, IPC_CREAT | S_IRUSR | S_IWUSR)); in dotest()
216 printf("msgget() error in child %d: %s\n", in dotest()
H A Dmsgstress04.c267 if ((id = msgget(key, IPC_CREAT | S_IRUSR | S_IWUSR)) < 0) { in dotest()
268 printf("msgget() error in child %d: %s\n", in dotest()
H A Dmsgstress02.c240 if ((id = msgget(key, IPC_CREAT | S_IRUSR | S_IWUSR)) < 0) { in dotest()
241 printf("msgget() error in child %d: %s\n", in dotest()
/third_party/ltp/lib/
H A Dtst_safe_sysv_ipc.c68 rval = msgget(key, msgflg); in safe_msgget()
71 tst_brk_(file, lineno, TBROK | TERRNO, "msgget(%i, %x) failed", in safe_msgget()
75 "Invalid msgget(%i, %x) return value %d", (int)key, in safe_msgget()
/third_party/libuv/src/unix/
H A Dos390-syscalls.c151 lst->msg_queue = msgget(IPC_PRIVATE, 0600 | IPC_CREAT); in init_message_queue()
/third_party/node/deps/uv/src/unix/
H A Dos390-syscalls.c151 lst->msg_queue = msgget(IPC_PRIVATE, 0600 | IPC_CREAT); in init_message_queue()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1856 pub fn msgget(key: ::key_t, msgflg: ::c_int) -> ::c_int; in msgget() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3964 pub fn msgget(key: ::key_t, msgflg: ::c_int) -> ::c_int; in msgget() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3923 pub fn msgget(key: ::key_t, msgflg: ::c_int) -> ::c_int; in msgget() functions
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs4096 pub fn msgget(key: ::key_t, msgflg: ::c_int) -> ::c_int; in msgget() functions

Completed in 46 milliseconds