OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:msqid
(Results
1 - 2
of
2
) sorted by null
/external/strace/tests/
ipc_msgbuf.c
52
int
msqid
= msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU);
local
53
if (
msqid
== -1)
55
if (msgsnd(
msqid
, &msg, msgsz, 0) == -1)
57
if (msgrcv(
msqid
, &msg, msgsz, mtype, 0) != msgsz)
59
if (msgctl(
msqid
, IPC_RMID, 0) == -1)
64
msgctl(
msqid
, IPC_RMID, 0);
/external/toybox/toys/pending/
ipcs.c
62
printf("\nMessage Queue
msqid
=%d\n"
341
int max_nr, i,
msqid
;
local
371
"
msqid
", "owner", "send", "recv", "change");
375
"
msqid
", "owner", "lspid", "lrpid");
379
"
msqid
", "perms", "cuid", "cgid", "uid", "gid");
383
"key", "
msqid
", "owner", "perms", "used-bytes", "messages");
387
if ((
msqid
= msgctl(i, MSG_STAT, &buf)) < 0 ) continue;
390
if (pw) printf("%-8d %-10.10s",
msqid
, pw->pw_name);
391
else printf("%-8d %-10d",
msqid
, buf.msg_perm.uid);
399
if (pw) printf("%-8d %-10.10s",
msqid
, pw->pw_name)
[
all
...]
Completed in 2816 milliseconds