Lines Matching defs:fds
58 static void fdpair(int fds[2])
61 if (pipe(fds) == 0)
64 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0)
212 int fds[2];
221 fdpair(fds);
224 ctx->in_fds[0] = fds[0];
225 ctx->in_fds[1] = fds[1];
231 snd_ctx->out_fds[i] = fds[1];
233 close(fds[0]);
236 /* Now we have all the fds, fork the senders */
245 /* Close the fds we have left */