[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Minor bone to pick regarding the doc for next_history
Re: [Bug-readline] Minor bone to pick regarding the doc for next_history()
Mon, 06 Apr 2015 14:17:38 -0400
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 3/29/15 11:09 AM, Glenn Golden wrote:
> Didn't see any response to this, so here's a suggested patch against
> history.3 from readline 6.3.006.
Here's the text I currently have:
.Fn1 "HIST_ENTRY *" next_history "void"
If the current history offset is not already at the end of the history
list, move the current history offset forward to the next history entry,
and return the a pointer to that entry.
If there is no next entry, return a \fBNULL\fP pointer.
If this function returns \fBNULL\fP, the current history offset is at the
end of the history list.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/