Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libshell/common/edit/
H A Dhistory.c319 hp->histfp= sfnew(NIL(Sfio_t*),hp->histbuff,HIST_BSIZE,fd,SF_READ|SF_WRITE|SF_APPENDWR|SF_SHARE); in sh_histinit()
329 sfwrite(hp->histfp,(char*)hist_stamp,2); in sh_histinit()
330 sfsync(hp->histfp); in sh_histinit()
337 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
345 first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
352 sfseek(hp->histfp,hp->histcnt=hsize,SEEK_SET); in sh_histinit()
371 sfdisc(hp->histfp,&hp->histdisc); in sh_histinit()
413 sfclose(hp->histfp); in hist_close()
473 close(sffileno(hist_old->histfp)); in hist_trim()
486 sfsetfd(hist_old->histfp,fd); in hist_trim()
[all …]
H A Dcompletion.c548 sfwrite(sh.hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); in ed_fulledit()
H A Dhexpand.c316 ref = sh.hist_ptr->histfp;
/titanic_44/usr/src/lib/libshell/common/include/
H A Dhistory.h36 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_44/usr/src/lib/libshell/amd64/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_44/usr/src/lib/libshell/i386/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_44/usr/src/lib/libshell/sparc/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_44/usr/src/lib/libshell/sparcv9/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dread.c469 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline()
570 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline()
H A Dprint.c184 fd = sffileno(shp->hist_ptr->histfp); in b_print()
200 …sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr->histfp)))) in b_print()
H A Dtypeset.c1094 iop = (tp->sh->hist_ptr)->histfp; in print_namval()
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dio.c2342 fd = sffileno(shp->hist_ptr->histfp); in sh_iogetiop()
H A Dlex.c192 log = shp->hist_ptr->histfp; in lex_advance()
H A Dparse.c755 t->funct.functloc = sfseek(shp->hist_ptr->histfp,(off_t)0,SEEK_CUR); in funct()
H A Dxec.c1024 if(shp->hist_ptr && item->strm == shp->hist_ptr->histfp) in sh_exec()