summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2016-07-09 23:10:05 +0000
committerdholland <dholland@NetBSD.org>2016-07-09 23:10:05 +0000
commitcaae8ee1ea8c64dea4e751c536afd8fd96cef729 (patch)
tree7ec7f363fca039452afdbc1014230d260f26ad89 /lib/libc/sys
parent4c886c316cebc20a7761f0af47149fcb2e041213 (diff)
Drop in a reference to the list of async-signal-safe functions.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/fork.210
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index 64eb1ad87cc..383847f5fed 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: fork.2,v 1.22 2004/06/25 15:29:25 wiz Exp $
+.\" $NetBSD: fork.2,v 1.23 2016/07/09 23:10:05 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)fork.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 10, 2004
+.Dd July 9, 2016
.Dt FORK 2
.Os
.Sh NAME
@@ -90,8 +90,10 @@ is still running in the child processes.
.Pp
Child processes of a threaded program have additional restrictions,
a child must only call functions that are async-signal-safe.
-Very few functions are asynchronously safe and applications should
-make sure they call
+Very few functions are asynchronously safe
+(the list may be found in
+.Xr sigaction 2 )
+and applications should make sure they call
.Xr exec 3
as soon as possible.
.Sh RETURN VALUES