Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module Process > getpgrp
getpgrp -> Integer
現在のプロセスのプロセスグループ ID を整数で返します。
[SEE_ALSO] getpgrp(2)