Lines Matching defs:fds
314 int fds[2], pid;
322 res = socketpair(PF_UNIX, SOCK_STREAM, 0, fds);
331 close(fds[0]);
332 close(fds[1]);
355 close(fds[1]);
356 fcntl(fds[0], F_SETFD, 0);
357 snprintf(env, sizeof(env), "%i", fds[0]);
364 close(fds[0]);
366 // Now fusermount3 will only exit when fds[1] closes automatically when our
374 int fds[2], pid;
383 res = socketpair(PF_UNIX, SOCK_STREAM, 0, fds);
392 close(fds[0]);
393 close(fds[1]);
419 close(fds[1]);
420 fcntl(fds[0], F_SETFD, 0);
421 snprintf(env, sizeof(env), "%i", fds[0]);
428 close(fds[0]);
429 rv = receive_fd(fds[1]);
434 close(fds[1]);