Module Name:    src
Committed By:   christos
Date:           Sat Apr 14 02:01:13 UTC 2012

Modified Files:
        src/lib/libc/gen: getpass.3

Log Message:
a clarification, an a formatting nit.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/getpass.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/libc/gen/getpass.3
diff -u src/lib/libc/gen/getpass.3:1.20 src/lib/libc/gen/getpass.3:1.21
--- src/lib/libc/gen/getpass.3:1.20	Fri Apr 13 21:33:43 2012
+++ src/lib/libc/gen/getpass.3	Fri Apr 13 22:01:12 2012
@@ -1,4 +1,4 @@
-.\"	$NetBSD: getpass.3,v 1.20 2012/04/14 01:33:43 christos Exp $
+.\"	$NetBSD: getpass.3,v 1.21 2012/04/14 02:01:12 christos Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -106,7 +106,7 @@ The behavior of
 is controlled by the
 .Fa flags
 argument:
-.Bl -tag -width GETPASS_BUF_LIMIT
+.Bl -tag -width GETPASS_FORCE_UPPER
 .It Dv GETPASS_NEED_TTY
 Fail if we are unable to set the tty modes like we want.
 .It Dv GETPASS_FAIL_EOF
@@ -133,13 +133,15 @@ Lowcase each entered character.
 .It Dv GETPASS_FORCE_UPPER
 Upcase each entered character.
 .El
+.Pp
 Finally if the
 .Fa timeout
 argument is non zero,
 .Fn getpassfd
 will wait for
 .Fa timeout
-seconds for input after each character before returning an error.
+seconds for input after each character before returning an error, instead of
+waiting forever.
 .Sh RETURN VALUES
 The
 .Fn getpass

Reply via email to