mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
man: Update mdoc markup of functions
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
6702d3262d
commit
49c466a23d
@ -1,4 +1,4 @@
|
|||||||
.Dd April 27, 2019
|
.Dd February 23, 2020
|
||||||
.Dt EDITLINE 3
|
.Dt EDITLINE 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -8,10 +8,22 @@
|
|||||||
.Lb libeditline
|
.Lb libeditline
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In editline.h
|
.In editline.h
|
||||||
.Fn "char *readline" "const char *prompt"
|
.Ft char *
|
||||||
.Fn "void add_history" "const char *line"
|
.Fo readline
|
||||||
.Fn "int read_history" "const char *filename"
|
.Fa const char *prompt
|
||||||
.Fn "int write_history" "const char *filename"
|
.Fc
|
||||||
|
.Ft void
|
||||||
|
.Fo add_history
|
||||||
|
.Fa const char *line
|
||||||
|
.Fc
|
||||||
|
.Ft int
|
||||||
|
.Fo read_history
|
||||||
|
.Fa const char *filename
|
||||||
|
.Fc
|
||||||
|
.Ft int
|
||||||
|
.Fo write_history
|
||||||
|
.Fa const char *filename
|
||||||
|
.Fc
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
is a library that provides n line-editing interface with history. It
|
is a library that provides n line-editing interface with history. It
|
||||||
|
Loading…
Reference in New Issue
Block a user