Searched refs:ndup (Results 1 – 8 of 8) sorted by relevance
80 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);
111 struct ndup { struct146 struct ndup ndup; member
133 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()
125 NTOFD ndup # fd<&dupfd126 NFROMFD ndup # fd>&dupfd
621 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()
155 fprintf(fp, "%d", np->ndup.dupfd); in shcmd()
470 if (redir->ndup.vname) { in expredir()471 expandarg(redir->ndup.vname, &fn, EXP_FULL | EXP_TILDE); in expredir()
1362 s[0] = n->ndup.dupfd + '0'; in cmdtxt()