Searched refs:savefd (Results 1 – 6 of 6) sorted by relevance
66 int savefd = cur_term->_check_fd; in typeahead() local69 if (savefd >= 0) in typeahead()70 (void) close(savefd); in typeahead()114 int savefd = cur_term->_check_fd; in typeahead()121 return (savefd); in typeahead()
1678 register int savefd; in sh_iosave() local1682 for(savefd=shp->topfd; --savefd>=oldtop; ) in sh_iosave()1684 if(filemap[savefd].orig_fd == origfd) in sh_iosave()1698 for(savefd=shp->gd->lim.open_max; --savefd>=0; ) in sh_iosave()1700 cp = (char*)shp->fdptrs[savefd]; in sh_iosave()1702 shp->fdptrs[savefd] = (int*)(cp+moved); in sh_iosave()1709 savefd = origfd; in sh_iosave()1715 savefd = -1; in sh_iosave()1718 if((savefd = sh_fcntl(origfd, F_DUPFD, 10)) < 0 && errno!=EBADF) in sh_iosave()1728 filemap[shp->topfd++].save_fd = savefd; in sh_iosave()[all …]
248 int savefd; local250 savefd = setb(-1);253 (void)setb(savefd);
386 savefd(int fd) in savefd() function
338 int savefd = setb(2); in freejobs() local349 (void) setb(savefd); in freejobs()
67 fdmap[topfd++].dup_fd = savefd(ioufd); in initio()