freebsd-dev/lib/libc/stdlib
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
..
abort.3 Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
abort.c Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
abs.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
abs.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
alloca.3 Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
atexit.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atexit.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atexit.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atof.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atoi.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atoi.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atol.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
atol.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
bsearch.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
bsearch.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
calloc.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
calloc.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
div.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
div.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
exit.3 Xref sysexits(3). 1996-03-31 22:31:51 +00:00
exit.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getenv.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getenv.c Doubled the performance of getenv()/__findenv() by rewriting it to not 1995-10-17 21:37:41 +00:00
getopt.3 Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +00:00
getopt.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getsubopt.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getsubopt.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
heapsort.c Don't include <sys/types.h> when it isn't used. 1996-04-19 18:40:25 +00:00
labs.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
labs.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ldiv.3 Fixed various problems: typos, grammer, missing include files 1996-05-23 01:05:25 +00:00
ldiv.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
Makefile.inc ``phkmalloc'' 1995-09-16 09:28:13 +00:00
malloc.3 Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
malloc.c Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
memory.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
merge.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
putenv.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
qsort.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
qsort.c Don't include <sys/types.h> when it isn't used. 1996-04-19 18:40:25 +00:00
radixsort.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
radixsort.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
rand.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rand.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
random.3 Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
random.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
realpath.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
realpath.c Don't attempt to lstat() the POSIXLY invalid empty pathname. 1995-02-25 16:06:07 +00:00
setenv.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
strhash.c Return pointer to new hash node when search inserts it (e.g. there 1996-01-13 14:25:04 +00:00
strtod.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
strtod.c Make strtod conforms manpage, use isspace to skip initial whitespaces 1995-08-01 22:20:16 +00:00
strtol.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
strtol.c strtol and atoi VERY broken in 8bit chars locale, i.e. if you pass something 1995-08-01 21:38:00 +00:00
strtoll.c Similar changes like in strtol, all this family is VERY broken 1995-08-01 22:04:57 +00:00
strtoq.c Similar changes like in strtol, all this family is VERY broken 1995-08-01 22:04:57 +00:00
strtoul.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
strtoul.c Similar changes like in strtol, all this family is VERY broken 1995-08-01 22:04:57 +00:00
strtoull.c Similar changes like in strtol, all this family is VERY broken 1995-08-01 22:04:57 +00:00
strtouq.c Similar changes like in strtol, all this family is VERY broken 1995-08-01 22:04:57 +00:00
system.3 Submitted by: (based on code in "Advanced Programming in the Unix Environment" 1996-06-05 00:08:54 +00:00
system.c Submitted by: (based on code in "Advanced Programming in the Unix Environment" 1996-06-05 00:08:54 +00:00