Home
last modified time | relevance | path

Searched refs:moved_to (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/shell/
Dhush.c7800 int moved_to; member
7809 sq[i].moved_to = moved; in append_squirrel()
7816 int moved_to; in add_squirrel() local
7822 if (fd == sq[i].moved_to) { in add_squirrel()
7823 sq[i].moved_to = dup_CLOEXEC(sq[i].moved_to, avoid_fd); in add_squirrel()
7824 debug_printf_redir("redirect_fd %d: already busy, moving to %d\n", fd, sq[i].moved_to); in add_squirrel()
7825 if (sq[i].moved_to < 0) /* what? */ in add_squirrel()
7837 moved_to = dup_CLOEXEC(fd, avoid_fd); in add_squirrel()
7838 …g_printf_redir("redirect_fd %d: previous fd is moved to %d (-1 if it was closed)\n", fd, moved_to); in add_squirrel()
7839 if (moved_to < 0 && errno != EBADF) in add_squirrel()
[all …]
Dash.c5672 int moved_to; member
5704 sq->two_fd[i].moved_to = CLOSED; in add_squirrel_closed()
5755 if (fd == sq->two_fd[i].moved_to) { in save_fd_on_redirect()
5757 sq->two_fd[i].moved_to = new_fd; in save_fd_on_redirect()
5778 sq->two_fd[i].moved_to = new_fd; in save_fd_on_redirect()
5807 if (fd == sq->two_fd[i].moved_to) in internally_opened_fd()
5937 sv->two_fd[0].moved_to = CLOSED; in pushfd()
5965 sv->two_fd[i].orig_fd = sv->two_fd[i].moved_to = EMPTY; in pushredir()
5986 int copy = rp->two_fd[i].moved_to; in popredir()