Searched refs:p2child (Results 1 - 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/ipc/ipc_stress/
H A Dpipe_test_02.c130 * p2child: half duplex pipes from parent to child (parent writes,
157 int p2child[MAXCHILD][2]; /* Pipes from parent to child processes */ variable
192 * p2child: for sending packets from the parent process to the child
214 if (pipe(&p2child[i][0]) < 0)
217 if (fcntl(p2child[i][READ], F_SETFL, O_NONBLOCK) < 0)
220 if (fcntl(p2child[i][WRITE], F_SETFL, O_NONBLOCK) < 0)
232 * Then close the READ end of the p2child pipe, since the parent
245 child(&p2child[i][0], p2parent);
251 if (close(p2child[i][READ]) < 0)
282 if ((n = write(p2child[
385 child(int p2child[], int p2parent[]) argument
[all...]

Completed in 73 milliseconds