Searched defs:child_pipe (Results 1 - 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl11.c55 int child_pipe[2]; variable
96 SAFE_PIPE(cleanup, child_pipe);
119 close(child_pipe[0]);
211 SAFE_READ(cleanup, 1, child_pipe[0], l, sizeof(*l));
216 SAFE_WRITE(NULL, 1, child_pipe[1], l, sizeof(*l));
250 &parent_pipe[1], &child_pipe[0], &child_pipe[1], &fd);
263 parent_pipe[1], child_pipe[0],
264 child_pipe[1], fd) < 0)
274 SAFE_CLOSE(cleanup, child_pipe[
[all...]
H A Dfcntl19.c59 int child_pipe[2]; variable
96 SAFE_PIPE(cleanup, child_pipe);
133 close(child_pipe[0]);
240 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) {
248 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) {
289 &child_pipe[0], &child_pipe[1], &fd);
303 child_pipe[0], child_pipe[1], fd) < 0) {
318 (void)close(child_pipe[
[all...]
H A Dfcntl20.c55 int child_pipe[2]; variable
98 SAFE_PIPE(NULL, child_pipe);
130 close(child_pipe[0]);
239 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) {
247 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) {
288 &child_pipe[0], &child_pipe[1], &fd);
302 child_pipe[0], child_pipe[1], fd) < 0) {
317 (void)close(child_pipe[
[all...]
H A Dfcntl21.c54 int child_pipe[2]; variable
94 pipe(child_pipe);
137 close(child_pipe[0]);
247 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) {
255 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) {
296 &child_pipe[0], &child_pipe[1], &fd);
310 child_pipe[0], child_pipe[1], fd) < 0) {
324 (void)close(child_pipe[
[all...]

Completed in 130 milliseconds