Lines Matching defs:fds
16 static int fds[2];
24 SAFE_PIPE(fds);
26 SAFE_WRITE(SAFE_WRITE_ALL, fds[1], wrbuf, sizeof(wrbuf));
27 SAFE_CLOSE(fds[1]);
29 SAFE_READ(0, fds[0], rdbuf, sizeof(wrbuf));
31 TST_EXP_VAL(SAFE_READ(0, fds[0], rdbuf, 1), 0);
32 SAFE_CLOSE(fds[0]);
37 if (fds[0] > 0)
38 SAFE_CLOSE(fds[0]);
39 if (fds[1] > 0)
40 SAFE_CLOSE(fds[1]);