summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signal.3
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-07-19 08:55:22 +0000
committermatthew <matthew@openbsd.org>2014-07-19 08:55:22 +0000
commiteb185aa8846bcbcf2fd61b6d629c04789a87b095 (patch)
treeade4c40454a4fe69717c51ec7b657b4b1af17693 /lib/libc/gen/signal.3
parentactually use the cve match_location correctly. (diff)
downloadwireguard-openbsd-eb185aa8846bcbcf2fd61b6d629c04789a87b095.tar.xz
wireguard-openbsd-eb185aa8846bcbcf2fd61b6d629c04789a87b095.zip
Document that abort() is async signal safe now that it doesn't flush
stdio buffers While here replace "SUSv[67]" with "POSIX Issue [67]" and update signal(3) to mention that pselect() and ppoll() are async signal safe like sigaction(2) already does. ok guenther
Diffstat (limited to 'lib/libc/gen/signal.3')
-rw-r--r--lib/libc/gen/signal.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index dcdd2e14fab..d4599bd1cad 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.45 2014/07/18 19:24:42 matthew Exp $
+.\" $OpenBSD: signal.3,v 1.46 2014/07/19 08:55:22 matthew Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 18 2014 $
+.Dd $Mdocdate: July 19 2014 $
.Dt SIGNAL 3
.Os
.Sh NAME
@@ -242,8 +242,7 @@ invoke them, without restriction, from signal-catching functions:
Base Interfaces:
.Pp
.Fn _exit ,
-.\" SUSv7 says abort() is safe, but since it flushes stdio buffers,
-.\" that's not practical
+.Fn abort ,
.Fn accept ,
.Fn access ,
.Fn alarm ,
@@ -309,6 +308,7 @@ Base Interfaces:
.Fn pause ,
.Fn pipe ,
.Fn poll ,
+.Fn pselect ,
.Fn read ,
.Fn readlink ,
.Fn readlinkat ,
@@ -368,11 +368,10 @@ Base Interfaces:
.Fn write .
.Pp
.\" unimplemented functions that should be async-sig-safe, if we had them
-.\" SUSv[56] additions
-.\" .Fn pselect ,
+.\" POSIX Issue 6 additions
.\" .Fn sockatmark .
.\"
-.\" SUSv7 additions
+.\" POSIX Issue 7 additions
.\" .Pp
.\" .Fn fexecve .
.\"
@@ -404,6 +403,7 @@ Extension Interfaces:
.Fn getentropy ,
.Fn getresgid ,
.Fn getresuid ,
+.Fn ppoll ,
.Fn setresgid ,
.Fn setresuid ,
.Fn strlcat ,