-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Get unix filesystem statistics with statfs, statvfs -- -- C FFI wrapper for POSIX statvfs and fstatvfs calls. @package statvfs @version 0.1 module System.Posix.StatVFS newtype CFSBlkCnt CFSBlkCnt :: Word64 -> CFSBlkCnt newtype CFSFilCnt CFSFilCnt :: Word64 -> CFSFilCnt type CStatVFS = () c_fstatvfs :: CInt -> Ptr CStatVFS -> IO CInt c_statvfs :: CString -> Ptr CStatVFS -> IO CInt data StatVFS StatVFS :: CULong -> CULong -> CFSBlkCnt -> CFSBlkCnt -> CFSBlkCnt -> CFSFilCnt -> CFSFilCnt -> CFSFilCnt -> CULong -> CULong -> CULong -> StatVFS statVFS_bsize :: StatVFS -> CULong statVFS_frsize :: StatVFS -> CULong statVFS_blocks :: StatVFS -> CFSBlkCnt statVFS_bfree :: StatVFS -> CFSBlkCnt statVFS_bavail :: StatVFS -> CFSBlkCnt statVFS_files :: StatVFS -> CFSFilCnt statVFS_ffree :: StatVFS -> CFSFilCnt statVFS_favail :: StatVFS -> CFSFilCnt statVFS_fsid :: StatVFS -> CULong statVFS_flag :: StatVFS -> CULong statVFS_namemax :: StatVFS -> CULong statVFS_st_rdonly :: CULong statVFS_st_nosuid :: CULong toStatVFS :: Ptr CStatVFS -> IO StatVFS fStatVFS :: Fd -> IO StatVFS statVFS :: FilePath -> IO StatVFS instance Bounded CFSBlkCnt instance Enum CFSBlkCnt instance Eq CFSBlkCnt instance Integral CFSBlkCnt instance Num CFSBlkCnt instance Ord CFSBlkCnt instance Real CFSBlkCnt instance Storable CFSBlkCnt instance Bounded CFSFilCnt instance Enum CFSFilCnt instance Eq CFSFilCnt instance Integral CFSFilCnt instance Num CFSFilCnt instance Ord CFSFilCnt instance Real CFSFilCnt instance Storable CFSFilCnt instance Show StatVFS instance Show CFSFilCnt instance Read CFSFilCnt instance Show CFSBlkCnt instance Read CFSBlkCnt