Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c65 int histmask; /* power of two mask for histcnt */ \
71 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask))
234 int histmask, maxlines, hist_start=0; in sh_histinit() local
308 for(histmask=16;histmask <= maxlines; histmask <<=1 ); in sh_histinit()
309 if(!(hp=new_of(History_t,(--histmask)*sizeof(off_t)))) in sh_histinit()
317 hp->histmask = histmask; in sh_histinit()
319 memset((char*)hp->histcmds,0,sizeof(off_t)*(hp->histmask+1)); in sh_histinit()