Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c399 static struct fdsave *filemap; variable
448 filemap = (struct fdsave*)malloc(filemapsize*sizeof(struct fdsave)); in sh_ioinit()
1684 if(filemap[savefd].orig_fd == origfd) in sh_iosave()
1690 char *cp, *oldptr = (char*)filemap; in sh_iosave()
1691 char *oldend = (char*)&filemap[filemapsize]; in sh_iosave()
1694 if(!(filemap = (struct fdsave*)realloc(filemap,filemapsize*sizeof(struct fdsave)))) in sh_iosave()
1696 if(moved = (char*)filemap - oldptr) in sh_iosave()
1725 filemap[shp->topfd].tname = name; in sh_iosave()
1726 filemap[shp->topfd].subshell = (flag&IOSUBSHELL); in sh_iosave()
1727 filemap[shp->topfd].orig_fd = origfd; in sh_iosave()
[all …]