Home
last modified time | relevance | path

Searched refs:ndup (Results 1 – 8 of 8) sorted by relevance

/system/core/sh/
Dnodes.c80 SHELL_ALIGN(sizeof (struct ndup)),
81 SHELL_ALIGN(sizeof (struct ndup)),
180 calcsize(n->ndup.vname);
181 calcsize(n->ndup.next);
279 new->ndup.vname = copynode(n->ndup.vname);
280 new->ndup.dupfd = n->ndup.dupfd;
281 new->ndup.fd = n->ndup.fd;
282 new->ndup.next = copynode(n->ndup.next);
Dnodes.h111 struct ndup { struct
146 struct ndup ndup; member
Dredir.c133 n->ndup.dupfd == fd) in redirect()
222 if (redir->ndup.dupfd >= 0) { /* if not ">&-" */ in openredirect()
223 if (memory[redir->ndup.dupfd]) in openredirect()
226 copyfd(redir->ndup.dupfd, fd); in openredirect()
Dnodetypes125 NTOFD ndup # fd<&dupfd
126 NFROMFD ndup # fd>&dupfd
Dparser.c621 n->ndup.vname = NULL; in fixredir()
624 n->ndup.dupfd = digit_val(text[0]); in fixredir()
626 n->ndup.dupfd = -1; in fixredir()
632 n->ndup.vname = makename(); in fixredir()
Dshow.c155 fprintf(fp, "%d", np->ndup.dupfd); in shcmd()
Deval.c470 if (redir->ndup.vname) { in expredir()
471 expandarg(redir->ndup.vname, &fn, EXP_FULL | EXP_TILDE); in expredir()
Djobs.c1362 s[0] = n->ndup.dupfd + '0'; in cmdtxt()