sticky?(p1)
public
Returns true if the named file has the sticky bit set.
Show source
/*
* call-seq:
* File.sticky?(file_name) => true or false
*
* Returns <code>true</code> if the named file has the sticky bit set.
*/
static VALUE
test_sticky(obj, fname)
VALUE obj, fname;
{
#ifdef S_ISVTX
return check3rdbyte(fname, S_ISVTX);
#else
return Qnil;
#endif
}