Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe11.c12 * For a different nchilds number:
13 * 1. Open a pipe and write nchilds * (PIPE_BUF/nchilds) bytes into it
14 * 2. Fork nchilds children
15 * 3. Each child reads PIPE_BUF/nchilds characters and checks that the
65 unsigned int nchilds = childs[tcase]; in run() local
66 read_per_child = PIPE_BUF/nchilds; in run()
70 read_per_child, nchilds); in run()
72 for (i = 0; i < nchilds; i++) { in run()
80 SAFE_WRITE(SAFE_WRITE_ALL, fds[1], buf, read_per_child * nchilds); in run()
[all...]

Completed in 1 milliseconds