Lines Matching refs:ndup
969 struct ndup { struct
1003 struct ndup ndup; member
1318 fprintf(fp, "%d", np->ndup.dupfd); in shcmd()
5104 if (n->ndup.dupfd >= 0) in cmdtxt()
5105 cmdputs(utoa(n->ndup.dupfd)); in cmdtxt()
5841 newfd = redir->ndup.dupfd; in redirect()
8927 [NTOFD ] = SHELL_ALIGN(sizeof(struct ndup)),
8928 [NFROMFD ] = SHELL_ALIGN(sizeof(struct ndup)),
9017 funcblocksize = calcsize(funcblocksize, n->ndup.vname); in calcsize()
9018 funcblocksize = calcsize(funcblocksize, n->ndup.next); in calcsize()
9140 new->ndup.vname = copynode(n->ndup.vname); in copynode()
9141 new->ndup.dupfd = n->ndup.dupfd; in copynode()
9142 new->ndup.fd = n->ndup.fd; in copynode()
9143 new->ndup.next = copynode(n->ndup.next); in copynode()
9624 if (redir->ndup.vname) { in expredir()
9625 expandarg(redir->ndup.vname, &fn, EXP_TILDE | EXP_REDIR); in expredir()
11910 n->ndup.vname = NULL; in fixredir()
11914 n->ndup.dupfd = fd; in fixredir()
11916 n->ndup.dupfd = -1; in fixredir()
11920 n->ndup.vname = makename(); in fixredir()