From 49c466a23d3c98327e9110ae5d7c8ebfe81b2445 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 23 Feb 2020 15:58:56 +0100 Subject: [PATCH] man: Update mdoc markup of functions Signed-off-by: Joachim Nilsson --- man/editline.3 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/man/editline.3 b/man/editline.3 index daf8a1c..5ef16c7 100644 --- a/man/editline.3 +++ b/man/editline.3 @@ -1,4 +1,4 @@ -.Dd April 27, 2019 +.Dd February 23, 2020 .Dt EDITLINE 3 .Os .Sh NAME @@ -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