Searched refs:save_fd (Results 1 – 2 of 2) sorted by relevance
327 int save_fd; /* saved file descriptor */ member1728 filemap[shp->topfd++].save_fd = savefd; in sh_iosave()1742 shp->fdptrs[savefd] = &filemap[shp->topfd-1].save_fd; in sh_iosave()1765 if((savefd = filemap[fd].save_fd)< 0) in sh_iounsave()1791 if ((savefd = filemap[fd].save_fd) >= 0) in sh_iorestore()1804 savefd = filemap[fd].save_fd; in sh_iorestore()1815 if ((savefd = filemap[fd].save_fd) >= 0) in sh_iorestore()2775 if (filemap[fd].save_fd == min_fd || filemap[fd].orig_fd == min_fd) break; in sh_get_unused_fd()
100 static int save_fd; variable474 save_fd = fd; in set_tty_rawmode()571 (void) tcsetattr(save_fd, TCSADRAIN, &save_termios); in reset_tty()