Lines Matching refs:topfd
969 int r, indx = shp->topfd, perm= -1;
1429 for(savefd=shp->topfd; --savefd>=oldtop; )
1435 if(shp->topfd >= filemapsize)
1473 filemap[shp->topfd].tname = name;
1474 filemap[shp->topfd].subshell = flag;
1475 filemap[shp->topfd].orig_fd = origfd;
1476 filemap[shp->topfd++].save_fd = savefd;
1485 shp->fdptrs[savefd] = &filemap[shp->topfd-1].save_fd;
1506 for(newfd=fd=0; fd < shp->topfd; fd++)
1516 shp->topfd = newfd;
1527 for (fd = shp->topfd - 1; fd >= last; fd--)
1572 for (fd = last ; fd < shp->topfd; fd++)
1578 if(last < shp->topfd)
1579 shp->topfd = last;