OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:roqueue
(Results
1 - 3
of
3
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
7-1.c
36
mqd_t rdwrqueue,
roqueue
;
local
63
roqueue
= mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr);
64
if (
roqueue
== (mqd_t) - 1) {
76
if (mq_receive(
roqueue
, msgrcd, BUFFER, &pri) == -1) {
80
mq_close(
roqueue
);
89
if (mq_send(
roqueue
, msgptr, strlen(msgptr), 1) == 0) {
93
mq_close(
roqueue
);
103
mq_close(
roqueue
);
7-3.c
31
mqd_t
roqueue
, roqueue2;
local
35
roqueue
= mq_open(qname, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR, NULL);
36
if (
roqueue
== (mqd_t) - 1) {
49
mq_close(
roqueue
);
7-2.c
53
mqd_t
roqueue
;
local
77
roqueue
= mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr);
78
if (
roqueue
== (mqd_t) - 1) {
86
if (mq_receive(
roqueue
, msgrcd, BUFFER, &pri) == -1) {
88
mq_close(
roqueue
);
95
if (mq_send(
roqueue
, msgptr, strlen(msgptr) + 1, 1) == 0) {
97
mq_close(
roqueue
);
103
mq_close(
roqueue
);
Completed in 1125 milliseconds