Lines Matching defs:fds
21 static int fds[2];
37 * in fds[0].
45 if (fds[0] > 0)
46 SAFE_CLOSE(fds[0]);
47 if (fds[1] > 1)
48 SAFE_CLOSE(fds[1]);
58 SAFE_PIPE2(fds, tc->flags);
62 get_flag = SAFE_FCNTL(fds[i], tc->cmd);
64 tst_res(TPASS, "pipe2 fds[%d] gets expected flag(%d)", i, tc->flags);
66 tst_res(TFAIL, "pipe2 fds[%d] doesn't get expected flag(%d), get flag(%d)",