Searched refs:histname (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dhistory.h37 char *histname; /* name of history file */ member in struct:__anon111
/ast/src/cmd/ksh93/edit/
H A Dhistory.c232 register char *histname; local
240 if(!(histname = nv_getval(HISTFILE)))
248 histname = stakptr(offset);
256 if(strcmp(histname,hp->histname)==0)
263 cp = path_relative(shp,histname);
323 hp->histname = strdup(histname);
375 sh_timeradd(1000L*(HIST_RECENT-30), 1, hist_touch, (void*)hp->histname);
467 unlink(hist_old->histname);
[all...]
/ast/src/cmd/ie/
H A Dhistory.c106 register char *histname; local
116 histname = nam_strval(HISTFILE);
117 if(!histname)
125 histname = hname;
133 if(strcmp(histname,fp->fixname)==0)
139 histname = path_relative(histname);
140 if((fd=open(histname,O_APPEND|O_RDWR|O_CREAT|O_BINARY,S_IRUSR|S_IWUSR))>=0)
149 if(unlink(histname)>=0)
182 fp->fixname = sh_heap(histname);
[all...]
/ast/src/cmd/ksh93/sh/
H A Dpath.c1340 if(shp->gd->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->gd->hist_ptr->histname))

Completed in 17 milliseconds