freebsd-skq/lib/libc/stdlib
Alfred Perlstein 9c2ccf2741 Avoid getting stuck in system(3) when the internal call to wait4()
is interrupted by saving the pid.

The old code would assign the return value to pid which would trash
it, to fix the problem save a copy of the pid to be used as the
paramter to wait4().

Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org>
2001-10-03 11:01:39 +00:00
..
abort.3 Detail thread-safe and async-cancel-safe status. 2001-09-09 18:52:00 +00:00
abort.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
abs.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
abs.c
alloca.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
atexit.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
atexit.c
atexit.h
atof.3 Be explicit about the POSIX version it conforms to [in this case 1990]. 2001-09-26 20:10:10 +00:00
atof.c
atoi.3 mdoc(7) police: s/atof/atoi/ 2001-10-01 12:44:24 +00:00
atoi.c
atol.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
atol.c
bsearch.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
bsearch.c
calloc.c
div.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
div.c
exit.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
exit.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
getenv.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
getenv.c
getopt.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
getopt.c If the string specifying the allowed options starts with a leading `:', 2001-08-16 03:27:03 +00:00
getsubopt.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
getsubopt.c
hcreate.3 mdoc(7) police: eliminate -ww warnings. 2001-07-09 15:54:36 +00:00
hcreate.c Add new, from scratch implementation of hsearch() et al that actually works. 2001-05-15 07:08:20 +00:00
heapsort.c
labs.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
labs.c
ldiv.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
ldiv.c
Makefile.inc reconnect strfmon.c to build list 2001-09-07 13:03:16 +00:00
malloc.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
malloc.c Port to ia64, taking into account the fact that pagesizes may be variable. 2001-09-07 12:32:43 +00:00
memory.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
merge.c Drop unused labels. 1998-11-04 09:22:07 +00:00
netbsd_strtod.c Update unused __dtoa prototypes to match reality. 2001-02-25 08:51:41 +00:00
putenv.c
qsort.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
qsort.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
radixsort.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
radixsort.c
rand.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
rand.c urandom(4) -> random(4) in comments. 2001-06-07 02:32:18 +00:00
random.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
random.c urandom(4) -> random(4) in comments. 2001-06-07 02:32:18 +00:00
reallocf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
realpath.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
realpath.c Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
setenv.c Only realloc() environ if we're sure that we know where it came from. 2000-09-20 03:05:37 +00:00
strfmon.3 mdoc(7) police: don't split author names in the AUTHORS section. 2001-10-01 13:50:03 +00:00
strfmon.c style(9) 2001-09-17 00:23:19 +00:00
strhash.c Tidy up $Log$ debris. 1999-09-05 17:42:45 +00:00
strtod.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
strtod.c Update unused __dtoa prototypes to match reality. 2001-02-25 08:51:41 +00:00
strtol.3 mdoc(7) police: changed pure POSIX text; added missing markup bits. 2001-09-11 09:39:23 +00:00
strtol.c Portability fix: use unsigned cast to guaranteed positive part of expression 2001-09-04 21:28:01 +00:00
strtoll.c Portability fix: use unsigned cast to guaranteed positive part of expression 2001-09-04 21:28:01 +00:00
strtoq.c Remove rcsids and unneded include 2001-09-04 17:41:20 +00:00
strtoul.3 mdoc(7) police: changed pure POSIX text; added missing markup bits. 2001-09-11 09:39:23 +00:00
strtoul.c Remove rcsids and unneded include 2001-09-04 17:41:20 +00:00
strtoull.c Remove rcsids and unneded include 2001-09-04 17:41:20 +00:00
strtouq.c Remove rcsids and unneded include 2001-09-04 17:41:20 +00:00
system.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
system.c Avoid getting stuck in system(3) when the internal call to wait4() 2001-10-03 11:01:39 +00:00
tdelete.c bring in binary search tree code. 2000-07-01 06:55:11 +00:00
tfind.c bring in binary search tree code. 2000-07-01 06:55:11 +00:00
tsearch.3 Move to using .In instead of .Fd #include <> for include mark-up. 2001-09-07 14:46:36 +00:00
tsearch.c bring in binary search tree code. 2000-07-01 06:55:11 +00:00
twalk.c bring in binary search tree code. 2000-07-01 06:55:11 +00:00