Searched refs:hist_ind (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 71 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask)) macro 510 c = hist_ind(hist_new,++hist_new->histind); in hist_trim() 518 hist_new->histmarker = hist_new->histcmds[hist_ind(hist_new,c)] = hist_new->histcnt; in hist_trim() 641 n = hist_ind(hp, ++hp->histind); in hist_eof() 709 hp->histcmds[hist_ind(hp,++hp->histind)] = count; in hist_eof() 727 c = hist_ind(hp,--hp->histind); in hist_cancel() 829 c = hist_ind(hp,++hp->histind); in hist_write() 837 hp->histmarker = hp->histcmds[hist_ind(hp,c)] = hp->histcnt; in hist_write() 872 return(hp->histcmds[hist_ind(hp,n)]); in hist_tell() 880 return(sfseek(hp->histfp,hp->histcmds[hist_ind(hp,n)],SEEK_SET)); in hist_seek()
|