method
setuid?
ruby latest stable - Class:
FileTest
setuid?(p1)public
Returns true if the named file has the setuid bit set.
static VALUE
rb_file_suid_p(VALUE obj, VALUE fname)
{
#ifdef S_ISUID
return check3rdbyte(fname, S_ISUID);
#else
return Qfalse;
#endif
}