aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.3
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-05 00:08:54 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-05 00:08:54 +0000
commitb487e9d3567797dfaa188ae7e37e170e27f4e1f5 (patch)
tree10283a97de8afbdc5464824310abeebd04f2f5f2 /lib/libc/stdlib/system.3
parentbeca01611f54db96e782be9d5e849ee2a937a311 (diff)
downloadsrc-b487e9d3567797dfaa188ae7e37e170e27f4e1f5.tar.gz
src-b487e9d3567797dfaa188ae7e37e170e27f4e1f5.zip
Submitted by: (based on code in "Advanced Programming in the Unix Environment"
by W.Richard Ste vens. EINTR handling suggested by bde@freebsd.org). Code cleanup: 1. Add missing return type. 2. Replace 'union wait' by int. 3. Use Posix-style signal handling instead of signal(). 4. Use fork() instead of deprecated vfork(). 5. Block signals before fork()'ing, instead of after. 6. Return -1 if fork() fails, instead of 0. 7. Add EINTR handling for waitpid() call. Also add claim of Posix conformance to man page.
Notes
Notes: svn path=/head/; revision=16117
Diffstat (limited to 'lib/libc/stdlib/system.3')
-rw-r--r--lib/libc/stdlib/system.33
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/stdlib/system.3 b/lib/libc/stdlib/system.3
index 44aaf0c863b8..9b82e7b9e775 100644
--- a/lib/libc/stdlib/system.3
+++ b/lib/libc/stdlib/system.3
@@ -91,3 +91,6 @@ The
function
conforms to
.St -ansiC .
+and is expected to be
+.St -p1003.2
+compatible.