Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module Process::Sys > getuid

module function Process::Sys.#getuid

getuid -> Integer

システムコールの getuid(2) を呼びます。返り値を整数で返します。

[EXCEPTION] NotImplementedError:
システムコールが現在のプラットフォームで提供されていない場合に発生します。