summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2009-03-10 22:55:14 +0000
committerwiz <wiz@NetBSD.org>2009-03-10 22:55:14 +0000
commit097d2fd1a60ee64f800d64fafa7eb897ae8137fb (patch)
tree11f0561b160b1c3584dc7279b4c07d7bc09f983a /lib/libedit
parent32813437a30c22706d6599708a392e0f5d5147f2 (diff)
-1 is not a defined value, it is just a value.
On the other hand, minuses need backslashes, otherwise they become hyphens.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/editline.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index f3838e2d371..13da45a1836 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: editline.3,v 1.63 2009/03/10 20:46:15 christos Exp $
+.\" $NetBSD: editline.3,v 1.64 2009/03/10 22:55:14 wiz Exp $
.\"
.\" Copyright (c) 1997-2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -159,9 +159,7 @@ Returns the line read if successful, or
if no characters were read or if an error occurred.
If an error occurred,
.Fa count
-is set to
-.Dv -1
-and
+is set to \-1 and
.Dv errno
contains the error code that caused it.
.It Fn el_getc