From bf1af2b90ea4a80524195c4c1e26415721642ce2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 30 Apr 2004 22:01:11 +0000 Subject: Mention siginterrupt; OK deraadt@ --- lib/libc/gen/signal.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3