diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-24 00:31:01 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-24 00:31:01 +0000 |
commit | b1044a070b87b20a73f593b1087fae3a062d5920 (patch) | |
tree | daa375c4c5a8cf9fabd0f0657b2141fbb899ef71 /lib/libc/gen/readpassphrase.3 | |
parent | 89891a551cfa28139f6165de0c822d75e1035761 (diff) |
Various repairs, mostly to get rid of short lines.
Diffstat (limited to 'lib/libc/gen/readpassphrase.3')
-rw-r--r-- | lib/libc/gen/readpassphrase.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3 index 4d7018759a0..8880dd8bf88 100644 --- a/lib/libc/gen/readpassphrase.3 +++ b/lib/libc/gen/readpassphrase.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readpassphrase.3,v 1.1 2000/11/21 00:48:37 millert Exp $ +.\" $OpenBSD: readpassphrase.3,v 1.2 2000/12/24 00:30:50 aaron Exp $ .\" .\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -46,7 +46,8 @@ and the flag is not set, .Fn readpassphrase displays the prompt on the standard error output and reads from the standard -input. In this case it is generally not possible to turn off echo. +input. +In this case it is generally not possible to turn off echo. .Pp Up to .Fa bufsiz @@ -74,14 +75,14 @@ space. .Sh RETURN VALUES On success, .Fn readpassphrase -returns a pointer to the NUL-terminated passphrase. If the +returns a pointer to the null-terminated passphrase. +If the .Dv RPP_REQUIRE_TTY flag is set and .Pa /dev/tty is inaccessible, .Fn readpassphrase -returns the -.Dv NULL pointer. +returns a null pointer. .Sh EXAMPLES The following code fragment will read a passphrase from .Pa /dev/tty |