summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.c
Commit message (Collapse)AuthorAgeFilesLines
* Oops, replace a rather important line that was lost in transit 8-(jraynard1996-06-081-1/+2
|
* Submitted by: (based on code in "Advanced Programming in the Unix Environment"jraynard1996-06-051-18/+33
| | | | | | | | | | | | | | | | 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.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+76
OpenPOWER on IntegriCloud