summaryrefslogtreecommitdiffstats
path: root/lib/libedit/editline.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/editline.3')
-rw-r--r--lib/libedit/editline.314
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 33e3226..ffee263 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -33,7 +33,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: editline.3,v 1.6 1999/07/12 20:49:33 nik Exp $
.\"
.Dd January 11, 1997
.Os BSD 4.4
@@ -53,6 +53,8 @@
.Nm el_line ,
.Nm el_insertstr ,
.Nm el_deletestr ,
+.Nm el_data_set ,
+.Nm el_data_get ,
.Nm history_init ,
.Nm history_end ,
.Nm history
@@ -85,6 +87,10 @@
.Fn el_insertstr "EditLine *e" "char *str"
.Ft void
.Fn el_deletestr "EditLine *e" "int count"
+.Ft void
+.Fn el_data_set "EditLine *e" "void *data"
+.Ft void *
+.Fn el_data_get "EditLine *e"
.Ft History *
.Fn history_init
.Ft void
@@ -412,6 +418,12 @@ is empty or won't fit, and 0 otherwise.
Delete
.Fa num
characters before the cursor.
+.It Fn el_data_set
+Set the user data to
+.Fa data
+.
+.It Fn el_data_get
+Get the user data.
.El
.Sh HISTORY LIST FUNCTIONS
The history functions use a common data structure,
OpenPOWER on IntegriCloud