Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen a clarification, an a formatting nit.
details: https://anonhg.NetBSD.org/src/rev/6c81100eb169
branches: trunk
changeset: 778806:6c81100eb169
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 14 02:01:12 2012 +0000
description:
a clarification, an a formatting nit.
diffstat:
lib/libc/gen/getpass.3 | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 1c0b3b4e502f -r 6c81100eb169 lib/libc/gen/getpass.3
--- a/lib/libc/gen/getpass.3 Sat Apr 14 01:34:37 2012 +0000
+++ b/lib/libc/gen/getpass.3 Sat Apr 14 02:01:12 2012 +0000
@@ -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 @@
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 @@
.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
Home |
Main Index |
Thread Index |
Old Index