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

module function Process::Sys.#issetugid

issetugid -> bool

システムコールの issetugid() を呼びます。

プロセスが setuid もしくは setgid ビットを使って 起動されている場合に真を返します。

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