history.c | 45 static int histfd; variable in typeref:typename:int 581 if (histfd) { 583 (void) close(histfd); 584 histfd = 0; 794 if (histfd && dowrite) 857 histfd = savefd(fd, 0); 859 (void) flock(histfd, LOCK_EX); 861 hsize = lseek(histfd, 0L, SEEK_END); 865 if (sprinkle(histfd)) { 874 base = (unsigned char *)mmap(0, hsize, PROT_READ, MAP_FLAGS, histfd, 0) [all...] |