Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dhistory.h39 int histsize; /* number of accessible history lines */ member
56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
/illumos-gate/usr/src/lib/passwdutil/
H A Dfiles_attr.c428 int histsize; in files_checkhistory() local
431 if ((histsize = def_getint("HISTORY=", DEFHISTORY)) == 0) { in files_checkhistory()
437 debug("files_checkhistory: histsize = %d", histsize); in files_checkhistory()
438 if (histsize > MAXHISTORY) in files_checkhistory()
439 histsize = MAXHISTORY; in files_checkhistory()
445 while ((histsize-- > 0) && in files_checkhistory()
1143 int histsize; in files_update_history() local
1152 if ((histsize = def_getint("HISTORY=", DEFHISTORY)) == 0) { in files_update_history()
1158 histsize); in files_update_history()
1160 if (histsize > MAXHISTORY) in files_update_history()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c316 hp->histsize = maxlines; in sh_histinit()
637 if((hp->histind -= hp->histsize) < 0) in hist_eof()
727 hp->histind = hp->histind-hp->histsize + oldind +2; in hist_eof()
980 index2 -= hp->histsize; in hist_find()
1163 register int least = (int)hp->histind-hp->histsize; in hist_locate()
H A Dedit.c1707 for(index2=index1-hp->histsize; index1>index2; index1--)