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
544 if (histfd != -1) { in sethistfile()
546 (void)close(histfd); in sethistfile()
547 histfd = -1; in sethistfile()
589 if (histfd != -1) { in histsync()
654 if (svmode == HIST_STORE && histfd != -1) in histsave()
731 lseek(histfd, (off_t)0, SEEK_SET) < 0) in hist_persist_back()
751 if ((w = write(histfd, cp, n)) != -1) { in hist_persist_back()
764 if (ftruncate(histfd, tot)) { in hist_persist_back()
790 if ((histfd = savefd(fd)) < 0) in hist_persist_init()
[all …]