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

/external/mksh/src/
H A Dhistrap.c389 hist_get(const char *str, bool approx, bool allow_cur) argument
405 hp = hist_get_newest(allow_cur);
410 } else if (!allow_cur && hp == histptr) {
428 hist_get_newest(bool allow_cur) argument
430 if (histptr < history || (!allow_cur && histptr == history)) {
434 return (allow_cur ? histptr : histptr - 1);

Completed in 1217 milliseconds