From 0934ef62e5fbae4c01eba43b7d8149a5e1531f0a Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 14 Apr 2012 02:01:12 +0000 Subject: [PATCH] a clarification, an a formatting nit. --- lib/libc/gen/getpass.3 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/getpass.3 b/lib/libc/gen/getpass.3 index 05b8241b8292..b834f25f6b5d 100644 --- a/lib/libc/gen/getpass.3 +++ b/lib/libc/gen/getpass.3 @@ -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