Lines Matching defs:nchilds
12 * 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];
66 read_per_child = PIPE_BUF/nchilds;
70 read_per_child, nchilds);
72 for (i = 0; i < nchilds; i++) {
80 SAFE_WRITE(SAFE_WRITE_ALL, fds[1], buf, read_per_child * nchilds);
82 for (i = 0; i < nchilds; i++) {