These are the possible values for si_code in the result returned by waitid().
os/CLD_TRAPPED
CLD_TRAPPED