Searched refs:msgds (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_msgctl.c | 79 struct msqid_ds msgds; local 83 (void)memset(&msgds, 0, sizeof(struct msqid_ds)); 89 ATF_REQUIRE_ERRNO(EINVAL, msgctl(id, INT_MAX, &msgds) == -1); 96 ATF_REQUIRE_ERRNO(EINVAL, msgctl(-1, cmd[i], &msgds) == -1); 116 struct msqid_ds msgds; local 122 (void)memset(&msgds, 0, sizeof(struct msqid_ds)); 129 ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0); 139 msgds.msg_perm.uid = getuid(); 140 msgds.msg_perm.gid = getgid(); 144 if (msgctl(id, IPC_SET, &msgds) 195 struct msqid_ds msgds; local 258 struct msqid_ds msgds; local 308 struct msqid_ds msgds; local [all...] |
H A D | t_msgget.c | 158 struct msqid_ds msgds; local 162 (void)memset(&msgds, 0x9, sizeof(struct msqid_ds)); 168 ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0); 170 ATF_CHECK(msgds.msg_qnum == 0); 171 ATF_CHECK(msgds.msg_lspid == 0); 172 ATF_CHECK(msgds.msg_lrpid == 0); 173 ATF_CHECK(msgds.msg_rtime == 0); 174 ATF_CHECK(msgds.msg_stime == 0); 175 ATF_CHECK(msgds.msg_perm.uid == uid); 176 ATF_CHECK(msgds 258 struct msqid_ds msgds; local [all...] |
Completed in 134 milliseconds