Fixes from OpenBSD via Ingo Schwarze:
1) Missing comma after tok_str in NAME. OpenBSD rev. 1.38 Sep 10, 2015 (schwarze) 2) Style: void in argument list. OpenBSD rev. 1.39 Sep 14, 2015 (schwarze) 3) English punctuation: stray comma. OpenBSD rev. 1.37 Mar 13, 2015 (jmc)
This commit is contained in:
parent
7a1819b192
commit
7fc140d15b
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: editline.3,v 1.85 2015/11/03 21:36:59 christos Exp $
|
||||
.\" $NetBSD: editline.3,v 1.86 2016/02/24 18:28:54 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -26,7 +26,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd November 3, 2015
|
||||
.Dd February 24, 2016
|
||||
.Dt EDITLINE 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -70,7 +70,7 @@
|
|||
.Nm tok_wreset ,
|
||||
.Nm tok_line ,
|
||||
.Nm tok_wline ,
|
||||
.Nm tok_str
|
||||
.Nm tok_str ,
|
||||
.Nm tok_wstr
|
||||
.Nd line editor, history and tokenization functions
|
||||
.Sh LIBRARY
|
||||
|
@ -128,9 +128,9 @@
|
|||
.Ft void
|
||||
.Fn el_wdeletestr "EditLine *e" "int count"
|
||||
.Ft History *
|
||||
.Fn history_init
|
||||
.Fn history_init void
|
||||
.Ft HistoryW *
|
||||
.Fn history_winit
|
||||
.Fn history_winit void
|
||||
.Ft void
|
||||
.Fn history_end "History *h"
|
||||
.Ft void
|
||||
|
@ -744,7 +744,7 @@ to the last new element of the history.
|
|||
.It Dv H_ENTER , Fa "const char *str"
|
||||
Add
|
||||
.Fa str
|
||||
as a new element to the history, and, if necessary,
|
||||
as a new element to the history and, if necessary,
|
||||
removing the oldest entry to keep the list to the created size.
|
||||
If
|
||||
.Dv H_SETUNIQUE
|
||||
|
|
Loading…
Reference in New Issue