Home
last modified time | relevance | path

Searched refs:filemap (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c380 static struct fdsave *filemap; variable
389 filemap = (struct fdsave*)malloc(filemapsize*sizeof(struct fdsave)); in sh_ioinit()
1431 if(filemap[savefd].orig_fd == origfd) in sh_iosave()
1437 char *cp, *oldptr = (char*)filemap; in sh_iosave()
1438 char *oldend = (char*)&filemap[filemapsize]; in sh_iosave()
1441 if(!(filemap = (struct fdsave*)realloc(filemap,filemapsize*sizeof(struct fdsave)))) in sh_iosave()
1443 if(moved = (char*)filemap - oldptr) in sh_iosave()
1473 filemap[shp->topfd].tname = name; in sh_iosave()
1474 filemap[shp->topfd].subshell = flag; in sh_iosave()
1475 filemap[shp->topfd].orig_fd = origfd; in sh_iosave()
[all …]