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