Home | History | Annotate | Download | only in bionic

Lines Matching defs:new_fd

52   int new_fd;
62 if (fd != new_fd) {
63 if (dup2(fd, new_fd) == -1) _exit(127);
70 if (dup2(fd, new_fd) == -1) _exit(127);
293 int new_fd,
313 action->new_fd = new_fd;
338 int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* actions, int fd, int new_fd) {
339 if (fd < 0 || new_fd < 0) return EBADF;
340 return posix_spawn_add_file_action(actions, kDup2, fd, new_fd, nullptr, 0, 0);