convert wait4, waitpid to use multiple return args see #103