APIdock / Ruby
/
method

pid

ruby latest stable - Class: Process
pid()
public

Returns the process id of this process. Not available on all platforms.

Process .pid  #=> 27415
static VALUE
get_pid(void)
{
 return PIDT2NUM(getpid());
}

AltStyle によって変換されたページ (->オリジナル) /