Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module Process::Sys > getuid
getuid -> Integer
システムコールの getuid(2) を呼びます。返り値を整数で返します。