Lines Matching refs:fds
66 static void fdpair(int fds[2])
69 if (pipe(fds) == 0)
72 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0)
224 int fds[2];
233 fdpair(fds);
236 ctx->in_fds[0] = fds[0];
237 ctx->in_fds[1] = fds[1];
243 snd_ctx->out_fds[i] = fds[1];
245 close(fds[0]);
248 /* Now we have all the fds, fork the senders */
257 /* Close the fds we have left */