Searched refs:filemap (Results 1 – 1 of 1) sorted by relevance
399 static struct fdsave *filemap; variable1694 if(!(filemap = (struct fdsave*)realloc(filemap,filemapsize*sizeof(struct fdsave)))) in sh_iosave()1725 filemap[shp->topfd].tname = name; in sh_iosave()1766 filemap[newfd++] = filemap[fd]; in sh_iounsave()1787 if(!flag && filemap[fd].subshell) in sh_iorestore()1799 origfd = filemap[fd].orig_fd; in sh_iorestore()1804 savefd = filemap[fd].save_fd; in sh_iorestore()1812 else if(filemap[fd].tname) in sh_iorestore()1844 if(filemap[fd].subshell) in sh_iorestore()1845 filemap[last++] = filemap[fd]; in sh_iorestore()[all …]