> it also means system() is completely unsafe to use in multi-threaded
> programs that handle SIGCHLD...

 Yes, and that's not a problem. system() is a horrible interface
anyway, if only because of the automatic shell invocation and
parsing; no self-respecting Unix programmer should ever use it.
system() needs to be implemented for pure standards conformance,
but it can be done as it was conceived, i.e. as a quick and dirty
hack. Please, don't spend more time on it than strictly necessary
and keep your brain power available for more interesting parts of
the libc.

-- 
 Laurent
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to