Skip to content

Commit

Permalink
man: Update mdoc markup of functions
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <[email protected]>
  • Loading branch information
troglobit committed Feb 23, 2020
1 parent 6702d32 commit 49c466a
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions man/editline.3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.Dd April 27, 2019
.Dd February 23, 2020
.Dt EDITLINE 3
.Os
.Sh NAME
Expand All @@ -8,10 +8,22 @@
.Lb libeditline
.Sh SYNOPSIS
.In editline.h
.Fn "char *readline" "const char *prompt"
.Fn "void add_history" "const char *line"
.Fn "int read_history" "const char *filename"
.Fn "int write_history" "const char *filename"
.Ft char *
.Fo readline
.Fa const char *prompt
.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
.Nm
is a library that provides n line-editing interface with history. It
Expand Down

0 comments on commit 49c466a

Please sign in to comment.