Lines Matching refs:fds
43 int fds[2]; in main() local
44 pipe_maxfd(fds); in main()
61 rc = writev(fds[1], efault, 42); in main()
63 fds[1], efault, rc, errno2name()); in main()
65 rc = readv(fds[0], efault, 42); in main()
67 fds[0], efault, rc, errno2name()); in main()
89 fds[1], (long) writev(fds[1], w_iov, 0)); in main()
91 rc = writev(fds[1], w_iov + ARRAY_SIZE(w_iov_) - 1, 2); in main()
94 fds[1], w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_), in main()
100 assert(writev(fds[1], w_iov, ARRAY_SIZE(w_iov_)) == (int) w_len); in main()
101 close(fds[1]); in main()
111 fds[1], w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c), in main()
126 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len); in main()
130 fds[0], r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_), in main()
147 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len); in main()
152 fds[0], r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_), in main()
154 close(fds[0]); in main()