HomeSort by relevance Sort by last modified time
    Searched refs:father_to_child (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/kernel/containers/pidns/
pidns30.c 64 int father_to_child[2]; variable
105 remove_pipe(father_to_child);
180 close(father_to_child[1]);
182 while (read(father_to_child[0], buf, 1) != 1)
221 read(father_to_child[0], buf, 5);
247 if (pipe(child_to_father) == -1 || pipe(father_to_child) == -1) {
266 if (write(father_to_child[1], buf, 1) != 1)
271 close(father_to_child[0]);
286 if (write(father_to_child[1], "f:ok", 5) != 5)
pidns31.c 66 int father_to_child[2]; variable
107 close(father_to_child[0]);
115 close(father_to_child[1]);
125 remove_pipe(father_to_child);
165 close(father_to_child[1]);
168 read(father_to_child[0], buf, 5);
262 if (pipe(father_to_child) == -1) {
311 close(father_to_child[0]);
314 if (write(father_to_child[1], "f:ok", 5) != 5) {

Completed in 57 milliseconds