Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c68 static int histfd = -1; variable
542 if (histfd != -1) { in sethistfile()
544 (void)close(histfd); in sethistfile()
545 histfd = -1; in sethistfile()
587 if (histfd != -1) { in histsync()
652 if (svmode == HIST_STORE && histfd != -1) in histsave()
729 lseek(histfd, (off_t)0, SEEK_SET) < 0) in hist_persist_back()
749 if ((w = write(histfd, cp, n)) != -1) { in hist_persist_back()
762 if (ftruncate(histfd, tot)) { in hist_persist_back()
788 if ((histfd = savefd(fd)) < 0) in hist_persist_init()
[all …]