summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-04-30 22:01:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-04-30 22:01:11 +0000
commitbf1af2b90ea4a80524195c4c1e26415721642ce2 (patch)
tree006a1eda22730437e3a65fe2fa76e8d0277f7ad5 /lib
parent34e83f1524c0995fa35e74ff0fee2625a6e23dfb (diff)
Mention siginterrupt; OK deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/signal.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 43de79cb0f5..5f4afbf09de 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.27 2003/12/02 23:41:15 deraadt Exp $
+.\" $OpenBSD: signal.3,v 1.28 2004/04/30 22:01:10 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -211,6 +211,10 @@ or
.Xr wait 2 .
However, calls that have already committed are not restarted,
but instead return a partial success (for example, a short read count).
+The
+.Xr siginterrupt 3
+function can be used to change the system call restart behavior for
+a specific signal.
.Pp
When a process which has installed signal handlers forks,
the child process inherits the signals.
@@ -389,6 +393,7 @@ or
.Xr sigprocmask 2 ,
.Xr sigsuspend 2 ,
.Xr setjmp 3 ,
+.Xr siginterrupt 3 ,
.Xr tty 4
.Sh HISTORY
This