Lines Matching refs:fds
53 static void fdpair(int fds[2])
56 if (pipe(fds) == 0)
59 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0)
205 int fds[2];
213 fdpair(fds);
216 ctx->in_fds[0] = fds[0];
217 ctx->in_fds[1] = fds[1];
223 snd_ctx->out_fds[i] = fds[1];
225 close(fds[0]);
228 /* Now we have all the fds, fork the senders */
237 /* Close the fds we have left */