Class: Sys::Filesystem::Structs::Statfs
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Sys::Filesystem::Structs::Statfs
- Defined in:
- lib/sys/unix/sys/filesystem/structs.rb
Overview
The Statfs struct is a subclass of FFI::Struct that corresponds to a struct statfs.
Constant Summary collapse
- MNAMELEN =
FreeBSD 12.0 MNAMELEN from 88 => 1024.
if RbConfig::CONFIG['host_os'] =~ /freebsd(.*)/i Regexp.last_match(1).to_f < 12.0 ? 88 : 1024 else 88 end