stopsig()
Returns the number of the signal that caused stat to stop (or nil if self is not stopped).
static VALUE pst_wstopsig(VALUE st) { int status = PST2INT(st); if (WIFSTOPPED(status)) return INT2NUM(WSTOPSIG(status)); return Qnil; }