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

/external/mksh/src/
H A Dhistrap.c419 hist_get(const char *str, bool approx, bool allow_cur) argument
435 hp = hist_get_newest(allow_cur);
440 } else if (!allow_cur && hp == histptr) {
458 hist_get_newest(bool allow_cur) argument
460 if (histptr < history || (!allow_cur && histptr == history)) {
464 return (allow_cur ? histptr : histptr - 1);

Completed in 330 milliseconds