Searched refs:topfd (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dfault.h98 int topfd; member in struct:checkpt
109 (bp)->topfd=sh.topfd, (bp)->prev=sh.jmplist, \
H A Ddefs.h159 int topfd; \
/illumos-gate/usr/src/cmd/sh/
H A Dio.c42 short topfd; variable
402 for (i = topfd - 1; i >= last; i--) {
408 topfd = last;
H A Dservice.c43 extern short topfd;
58 lastfd = topfd;
66 fdmap[topfd].org_fd = ioufd;
67 fdmap[topfd++].dup_fd = savefd(ioufd);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c552 sh_iosave(shp,0,shp->topfd,(char*)0);
553 sh_iosave(shp,1,shp->topfd,(char*)0);
570 sh_iorestore(shp,buff.topfd,jmpval);
671 int topfd = shp->topfd; local
1075 if((shp->topfd>topfd) && !(shp->subshell && np==SYSEXEC))
1076 sh_iorestore(shp,topfd,jmpval);
1130 indx = shp->topfd;
1252 if(shp->topfd > topf
[all...]
H A Dsubshell.c726 if(shp->topfd != buff.topfd)
727 sh_iorestore(shp,buff.topfd|IOSUBSHELL,jmpval);
H A Dargs.c829 sh_iosave(shp,-pv[fd], shp->topfd, (char*)0);
H A Dio.c969 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
[all...]

Completed in 76 milliseconds