Lines Matching defs:ndup
550 struct ndup {
582 struct ndup ndup;
868 fprintf(fp, "%d", np->ndup.dupfd);
4306 s[0] = n->ndup.dupfd + '0';
4754 if (redir->ndup.dupfd >= 0) { /* if not ">&-" */
4755 copyfd(redir->ndup.dupfd, fd);
4806 && n->ndup.dupfd == fd)
7057 SHELL_ALIGN(sizeof(struct ndup)),
7058 SHELL_ALIGN(sizeof(struct ndup)),
7140 calcsize(n->ndup.vname);
7141 calcsize(n->ndup.next);
7254 new->ndup.vname = copynode(n->ndup.vname);
7255 new->ndup.dupfd = n->ndup.dupfd;
7256 new->ndup.fd = n->ndup.fd;
7257 new->ndup.next = copynode(n->ndup.next);
7648 if (redir->ndup.vname) {
7649 expandarg(redir->ndup.vname, &fn, EXP_FULL | EXP_TILDE);
9501 n->ndup.vname = NULL;
9504 n->ndup.dupfd = text[0] - '0';
9506 n->ndup.dupfd = -1;
9510 n->ndup.vname = makename();