Searched refs:save_redirect (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | sh.c | 727 static int save_redirect(int **rd, int from, int to) in save_redirect() function 982 save_redirect(&uu, pipes[in], in); in pipe_subshell() 2090 save_redirect(&pp->urd, -2, new); in expand_redir() 2142 if (save_redirect(&pp->urd, -1, to)) break; in expand_redir() 2245 if (save_redirect(&pp->urd, from, to)) bad++; in expand_redir() 2252 if ((saveclose&1) && save_redirect(&pp->urd, -1, from)) bad++; in expand_redir() 2253 if ((saveclose&4) && save_redirect(&pp->urd, from, 2)) bad++; in expand_redir() 3203 if (save_redirect(&TT.ff->blk->urd, TT.ff->blk->pout, 0)) break; in run_lines() 3218 if (save_redirect(&TT.ff->blk->urd, pipes[1], 1)) { in run_lines() 3226 if (ctl[1] == '&') save_redirect(&TT.ff->blk->urd, 1, 2); in run_lines()
|