incomplete.
by David Kaelbling <drk@sgi.com>
openbsd-compat/port-irix.[ch] to improve readiblity of do_child()