Home
last modified time | relevance | path

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

/third_party/mksh/
Dhistrap.c68 static int histfd = -1; variable
545 if (histfd != -1) { in sethistfile()
547 (void)close(histfd); in sethistfile()
548 histfd = -1; in sethistfile()
590 if (histfd != -1) { in histsync()
655 if (svmode == HIST_STORE && histfd != -1) in histsave()
732 lseek(histfd, (off_t)0, SEEK_SET) < 0) in hist_persist_back()
752 if ((w = write(histfd, cp, n)) != -1) { in hist_persist_back()
765 if (ftruncate(histfd, tot)) { in hist_persist_back()
791 if ((histfd = savefd(fd)) < 0) in hist_persist_init()
[all …]