.TH add_history() "" "" "Editing Function (libedit)"
.PC "Add a line to history buffer"
\fBvoid add_history(\fIline\^\fB)\fR
\fBchar *\fIline\^\fB;\fR
.PP
The function
.B add_history()
adds
.I line
to a ``history'' buffer, from which it can be retrieved by the function
.BR readline() .
.I line
must have been returned by
.BR readline() .
.SH "See Also"
.Xr libedit, libedit
.Xr readline() readline
