>Here is the code I used to emulate the wait3 BSD function on SCO UNIX. >Hope it will fix you right up. Probably not, unless his S5R3.2 system is POSIX-compliant; "waitpid()" is a POSIXism, and not in S5R3.1 or earlier versions from AT&T. It may not be in S5R3.2, either....