James Raynard b487e9d356 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.
1996-06-05 00:08:54 +00:00
..
1996-05-07 23:19:49 +00:00
1996-05-07 23:19:49 +00:00
1995-05-30 05:51:47 +00:00
1996-05-07 23:19:49 +00:00
1995-12-30 19:02:48 +00:00
1996-02-12 12:40:04 +00:00
1996-06-02 17:08:32 +00:00
1996-02-12 12:40:04 +00:00
1996-05-07 23:19:49 +00:00
1996-05-02 09:23:36 +00:00
1996-05-07 23:19:49 +00:00
1995-12-30 19:02:48 +00:00
1996-06-02 17:10:13 +00:00
1996-05-07 23:19:49 +00:00
1994-05-27 05:00:24 +00:00
1996-05-07 23:19:49 +00:00
1994-05-27 05:00:24 +00:00
1996-03-18 18:59:08 +00:00