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

1234

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_open/
H A D12-1.c33 char qname[NAMESIZE]; local
37 sprintf(qname, "/mq_open_12-1_%d", getpid());
39 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
50 mq_unlink(qname);
55 mq_unlink(qname);
H A D29-1.c28 char qname[NAMESIZE]; local
31 sprintf(qname, "/mq_open_29-1_%d", getpid());
33 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL);
38 mq_unlink(qname);
46 mq_unlink(qname);
H A D23-1.c28 char qname[NAMESIZE]; local
31 sprintf(qname, "/mq_open_23-1_%d", getpid());
33 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
41 * Open queue qname again with O_CREAT and O_EXCL set
43 queue2 = mq_open(qname, O_CREAT |O_EXCL|O_RDWR,
51 mq_unlink(qname);
63 mq_unlink(qname);
72 mq_unlink(qname);
H A D15-1.c27 char qname[NAMESIZE]; local
30 sprintf(qname, "/mq_open_15-1_%d", getpid());
32 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
40 * Open queue qname again with O_CREAT and O_EXCL set
42 queue2 = mq_open(qname, O_CREAT |O_EXCL|O_RDWR,
50 mq_unlink(qname);
55 mq_unlink(qname);
H A D27-1.c27 char qname[PATH_MAX*2]; local
31 sprintf(qname, "/mq_open_27-1_%d", getpid());
35 strcat(qname, "0");
38 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
41 qname);
44 mq_unlink(qname);
H A D27-2.c30 char qname[NAME_MAX*2]; local
34 sprintf(qname, "/mq_open_27-1_%d", getpid());
38 strcat(qname, "0");
41 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
44 qname);
47 mq_unlink(qname);
H A D21-1.c31 char qname[NAMESIZE]; local
34 sprintf(qname, "/mq_open_21-1_%d", getpid());
36 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL);
40 mq_unlink(qname);
H A D3-1.c27 char qname[NAMESIZE]; local
30 sprintf(qname, "/mq_open_3-1_%d", getpid());
32 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL);
37 mq_unlink(qname);
H A D7-1.c34 char qname[NAMESIZE], msgrcd[BUFFER]; local
40 sprintf(qname, "/mq_open_7-1_%d", getpid());
44 rdwrqueue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
56 mq_unlink(qname);
63 roqueue = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr);
69 mq_unlink(qname);
82 mq_unlink(qname);
95 mq_unlink(qname);
104 mq_unlink(qname);
H A D11-1.c32 char qname[NAMESIZE]; local
36 sprintf(qname, "/mq_open_11-1_%d", getpid());
38 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
49 mq_unlink(qname);
56 queue2 = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
61 mq_unlink(qname);
70 mq_unlink(qname);
76 mq_unlink(qname);
H A D18-1.c28 char qname[NAMESIZE]; local
32 sprintf(qname, "/mq_open_18-1_%d", getpid());
34 queue = mq_open(qname, O_CREAT |O_RDWR | O_NONBLOCK,
47 mq_unlink(qname);
52 mq_unlink(qname);
H A D7-3.c30 char qname[NAMESIZE]; local
33 sprintf(qname, "/mq_open_7-3_%d", getpid());
35 roqueue = mq_open(qname, O_CREAT |O_RDONLY, S_IRUSR | S_IWUSR, NULL);
42 roqueue2 = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, NULL);
51 mq_unlink(qname);
H A D8-1.c34 char qname[NAMESIZE], msgrcd[BUFFER]; local
40 sprintf(qname, "/mq_open_8-1_%d", getpid());
44 woqueue = mq_open(qname, O_CREAT |O_WRONLY, S_IRUSR | S_IWUSR, &attr);
56 mq_unlink(qname);
68 mq_unlink(qname);
75 woqueue2 = mq_open(qname, O_WRONLY, S_IRUSR | S_IWUSR, &attr);
81 mq_unlink(qname);
91 mq_unlink(qname);
104 mq_unlink(qname);
113 mq_unlink(qname);
[all...]
H A D9-1.c38 char qname[NAMESIZE], msgrcd[BUFFER], msgrcd2[BUFFER]; local
44 sprintf(qname, "/mq_open_9-1_%d", getpid());
48 rdwrqueue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
60 mq_unlink(qname);
72 mq_unlink(qname);
79 rdwrqueue2 = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, &attr);
84 mq_unlink(qname);
94 mq_unlink(qname);
106 mq_unlink(qname);
115 mq_unlink(qname);
[all...]
H A D19-1.c40 char qname[NAMESIZE], msgrcd[BUFFER]; local
47 sprintf(qname, "/mq_open_19-1_%d", getpid());
52 queue = mq_open(qname, O_CREAT |O_RDWR|O_NONBLOCK,
71 mq_unlink(qname);
75 queue = mq_open(qname, O_RDWR|O_NONBLOCK, S_IRUSR | S_IWUSR, NULL);
81 mq_unlink(qname);
92 mq_unlink(qname);
H A D1-1.c29 char qname[NAMESIZE]; local
34 sprintf(qname, "/mq_open_1-1_%d", getpid());
36 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
49 mq_unlink(qname);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_close/
H A D1-1.c27 char qname[50]; local
30 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid());
32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
43 if (mq_unlink(qname) != 0) {
H A D3-1.c32 char qname[50]; local
35 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid());
37 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
45 mq_unlink(qname);
49 if (mq_unlink(qname) != 0) {
H A D2-1.c38 int parent_process(char *qname, int read_pipe, int write_pipe, int child_pid);
39 int child_process(char *qname, int read_pipe, int write_pipe);
40 mqd_t open_queue(char *qname, int oflag, int mode);
45 char qname[50]; local
52 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid());
81 return child_process(qname, to_child[PIPE_READ],
88 return parent_process(qname, to_parent[PIPE_READ],
95 int parent_process(char *qname, int read_pipe, int write_pipe, int child_pid) argument
102 queue = open_queue(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
113 mq_unlink(qname);
158 child_process(char *qname, int read_pipe, int write_pipe) argument
214 open_queue(char *qname, int oflag, int mode) argument
[all...]
H A D4-1.c30 char qname[50]; local
34 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid());
36 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
62 if (mq_unlink(qname) != 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_open/speculative/
H A D2-2.c27 char qname[NAMESIZE]; local
30 sprintf(qname, "msgqueue_%d", getpid());
32 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
40 mq_unlink(qname);
H A D2-3.c27 char qname[NAMESIZE]; local
30 sprintf(qname, "/tmp/msgqueue_%d", getpid());
32 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
40 mq_unlink(qname);
H A D6-1.c31 char qname[NAMESIZE]; local
34 sprintf(qname, "/msgqueue_%d", getpid());
36 queue = mq_open(qname, O_CREAT |O_RDWR | O_WRONLY,
42 mq_unlink(qname);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/
H A D18-1.c32 char qname[NAMESIZE]; local
37 sprintf(qname, "/mq_timedsend_18-1_%d", getpid());
39 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
52 mq_unlink(qname);
57 mq_unlink(qname);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/speculative/
H A D18-2.c32 char qname[NAMESIZE]; local
37 sprintf(qname, "/msgqueue_%d", getpid());
39 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, NULL);
51 mq_unlink(qname);
56 mq_unlink(qname);

Completed in 170 milliseconds

1234