FreeBSD 3.4-STABLE:
installing signal handler...
forking...
waiting for child 25282 to exit...
child 25282 has exited
  sig_pid = 25282
  sig_status = 25600
  main_pid = -1
  main_status = 9999
sigchld handler was called before waitpid (no status)

IRIX 6.5 IP22:

installing signal handler...
forking...
waiting for child 564178 to exit...
child 564178 has exited
  sig_pid = -1
  sig_status = 9999
  main_pid = 564178
  main_status = 25600
waitpid got the status before sigchld handler was called

                                Jarda Benkovsky

Reply via email to