Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/edit/
H A Dhistory.c463 register History_t *hist_new, *hist_old = hp; in hist_trim() local
467 unlink(hist_old->histname); in hist_trim()
468 if(access(hist_old->histname,F_OK) >= 0) in hist_trim()
472 char *last, *name=hist_old->histname; in hist_trim()
473 close(sffileno(hist_old->histfp)); in hist_trim()
486 sfsetfd(hist_old->histfp,fd); in hist_trim()
491 if(fstat(sffileno(hist_old->histfp),&statb)>=0) in hist_trim()
499 return hist_ptr = hist_old; in hist_trim()
502 hist_ptr = hist_old; in hist_trim()
505 newp = hist_seek(hist_old,++n); in hist_trim()
[all …]