instance method
Process::Status#to_i
() -> ::Integer
to_i → integer
process.c
View on GitHub ↗
static VALUE
pst_to_i(VALUE self)
{
int status = pst_status(self);
return RB_INT2NUM(status);
}
Returns the system-dependent integer status of self:
Example
`cat /nop` $?.to_i # => 256