Module Name:    src
Committed By:   christos
Date:           Tue Sep 11 20:29:59 UTC 2012

Modified Files:
        src/lib/libedit: editline.3

Log Message:
PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errno


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/lib/libedit/editline.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/editline.3
diff -u src/lib/libedit/editline.3:1.76 src/lib/libedit/editline.3:1.77
--- src/lib/libedit/editline.3:1.76	Tue Sep 11 07:57:18 2012
+++ src/lib/libedit/editline.3	Tue Sep 11 16:29:58 2012
@@ -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 @@ and must be copied if the data is to be 
 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

Reply via email to