blksize()
public
Returns the native file system’s block size. Will return nil on platforms that
don’t support this information.
File.stat("testfile").blksize
Show source
static VALUE
rb_stat_blksize(VALUE self)
{
return ULONG2NUM(get_stat(self)->st_blksize);
return Qnil;
}