summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-15 15:37:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-15 15:37:52 +0000
commite80a70a1a2e97572882fefff2a0818912a059e70 (patch)
tree01626fe19be33b905892c0f2c1535046d4785ab9 /lib/libc
parent8a6cd35cf4ff5c0518294928548b4ddea2a0c0d1 (diff)
Document SIGTTIN and SIGTTOU now that we deal with them too.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/readpassphrase.311
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3
index fba5f5b1ee1..230930678b0 100644
--- a/lib/libc/gen/readpassphrase.3
+++ b/lib/libc/gen/readpassphrase.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readpassphrase.3,v 1.6 2001/12/07 23:55:35 millert Exp $
+.\" $OpenBSD: readpassphrase.3,v 1.7 2001/12/15 15:37:51 millert Exp $
.\"
.\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -132,6 +132,8 @@ SIGHUP
SIGQUIT
SIGTERM
SIGTSTP
+SIGTTIN
+SIGTTOU
.Ed
.Pp
When one of the above signals is intercepted, terminal echo will
@@ -144,8 +146,11 @@ default action is taken as per
.Xr sigaction 2 .
.Pp
The
-.Dv SIGTSTP
-signal (stop signal generated from keyboard) is treated specially.
+.Dv SIGTSTP ,
+.Dv SIGTTIN ,
+.Dv SIGTTOU ,
+signals (stop signal generated from keyboard or due to terminal I/O
+from a background proccess) are treated specially.
When the process is resumed after it has been stopped,
.Fn readpassphrase
will reprint the prompt and the user may then enter a passphrase.