Searched refs:redir (Results 1 - 7 of 7) sorted by relevance

/fuchsia/zircon/third_party/uapp/dash/src/
H A Dredir.h34 * @(#)redir.h 8.2 (Berkeley) 5/4/95
52 struct redirtab *pushredir(union node *redir);
H A Dredir.c54 #include "redir.h"
62 #define CLOSED -1 /* fd opened for redir needs to be closed */
98 redirect(union node *redir, int flags) argument
113 if (!redir)
119 n = redir;
168 openredirect(union node *redir) argument
174 switch (redir->nfile.type) {
176 fname = redir->nfile.expfname;
181 fname = redir->nfile.expfname;
188 fname = redir
296 openhere(union node *redir) argument
414 redirectsafe(union node *redir, int flags) argument
441 pushredir(union node *redir) argument
[all...]
H A Dparser.c295 union node *redir, **rpp; local
300 redir = NULL;
301 rpp2 = &redir;
440 goto redir;
462 redir:
473 if (redir) {
481 n1->nredir.redirect = redir;
493 union node **rpp, *redir; local
501 redir = NULL;
502 rpp = &redir;
[all...]
H A Deval.c58 #include "redir.h"
520 union node *redir; local
522 for (redir = n ; redir ; redir = redir->nfile.next) {
525 switch (redir->type) {
531 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR);
532 redir->nfile.expfname = fn.list->text;
536 if (redir
[all...]
H A Djobs.c57 #include "redir.h"
1339 goto redir;
1342 goto redir;
1345 goto redir;
1348 goto redir;
1351 goto redir;
1354 goto redir;
1357 redir:
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dwordexp.c36 const char* redir = (flags & WRDE_SHOWERR) ? "" : "2>/dev/null"; local
125 execl("/bin/sh", "sh", "-c", "eval \"printf %s\\\\\\\\0 x $1 $2\"", "sh", s, redir,
/fuchsia/zircon/third_party/uapp/dash/
H A Drules.mk39 $(LOCAL_DIR)/src/redir.c \

Completed in 77 milliseconds