Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit PR/46945: Steffen Nurpmeso; el_getc() doesn't do...
details: https://anonhg.NetBSD.org/src/rev/a5a4ed31cad8
branches: trunk
changeset: 781509:a5a4ed31cad8
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 11 20:29:58 2012 +0000
description:
PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errno
diffstat:
lib/libedit/editline.3 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 711c405826d7 -r a5a4ed31cad8 lib/libedit/editline.3
--- a/lib/libedit/editline.3 Tue Sep 11 19:43:09 2012 +0000
+++ b/lib/libedit/editline.3 Tue Sep 11 20:29:58 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: editline.3,v 1.76 2012/09/11 11:57:18 christos Exp $
+.\" $NetBSD: editline.3,v 1.77 2012/09/11 20:29:58 christos Exp $
.\"
.\" Copyright (c) 1997-2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -221,7 +221,10 @@
Read a character from the tty.
.Fa ch
is modified to contain the character read.
-Returns the number of characters read if successful, \-1 otherwise.
+Returns the number of characters read if successful, \-1 otherwise,
+in which case
+.Dv errno
+can be inspected for the cause.
.It Fn el_push
Pushes
.Fa str
Home |
Main Index |
Thread Index |
Old Index