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()
1425 register int savefd; in sh_iosave() local1429 for(savefd=shp->topfd; --savefd>=oldtop; ) in sh_iosave()1431 if(filemap[savefd].orig_fd == origfd) in sh_iosave()1446 for(savefd=shp->lim.open_max+2; --savefd>=0; ) in sh_iosave()1448 for(savefd=shp->lim.open_max; --savefd>=0; ) in sh_iosave()1451 cp = (char*)shp->fdptrs[savefd]; in sh_iosave()1453 shp->fdptrs[savefd] = (int*)(oldptr+moved); in sh_iosave()1460 savefd = origfd; in sh_iosave()1466 if((savefd = sh_fcntl(origfd, F_DUPFD, 10)) < 0 && errno!=EBADF) in sh_iosave()1476 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()