Searched defs:redir (Results 1 - 3 of 3) sorted by relevance
/system/core/sh/ |
H A D | redir.c | 1 /* $NetBSD: redir.c,v 1.29 2004/07/08 03:57:33 christos Exp $ */ 38 static char sccsid[] = "@(#)redir.c 8.2 (Berkeley) 5/4/95"; 40 __RCSID("$NetBSD: redir.c,v 1.29 2004/07/08 03:57:33 christos Exp $"); 63 #include "redir.h" 107 redirect(union node *redir, int flags) argument 129 for (n = redir ; n ; n = n->nfile.next) { 175 openredirect(union node *redir, char memory[10], int flags) argument 177 int fd = redir->nfile.fd; 189 switch (redir->nfile.type) { 191 fname = redir 258 openhere(union node *redir) argument [all...] |
H A D | eval.c | 72 #include "redir.h" 454 union node *redir; local 456 for (redir = n ; redir ; redir = redir->nfile.next) { 459 switch (redir->type) { 465 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); 466 redir->nfile.expfname = fn.list->text; 470 if (redir [all...] |
H A D | parser.c | 51 #include "redir.h" /* defines copyfd() */ 293 union node *redir, **rpp; local 297 redir = NULL; 299 rpp = &redir; 482 if (!redir) 491 n1 = simplecmd(rpp, redir); 506 if (redir) { 513 n1->nredir.redirect = redir; 529 simplecmd(union node **rpp, union node *redir) argument 537 /* rpp to be the address of the local redir variabl [all...] |
Completed in 238 milliseconds