APIdock / Ruby
/
method

uid

ruby latest stable - Class: File ::Stat
uid()
public

Returns the numeric user id of the owner of stat.

File .stat("testfile").uid  #=> 501
static VALUE
rb_stat_uid(VALUE self)
{
 return UIDT2NUM(get_stat(self)->st_uid);
}

AltStyle によって変換されたページ (->オリジナル) /