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

module function Process::Sys.#geteuid

geteuid -> Integer

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

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