| Safe Haskell | None | 
|---|
System.Posix.StatVFS
Description
Get information about a mounted filesystem. A minimal example of usage is:
 import System.Posix.StatVFS (statVFS, statVFS_bfree)
main = do
     stat <- statVFS /
     putStrLn $ (show (statVFS_bfree stat)) ++  free blocks on /
- newtype CFSBlkCnt = CFSBlkCnt Word64
 - newtype CFSFilCnt = CFSFilCnt Word64
 - type CStatVFS = ()
 - c_fstatvfs :: CInt -> Ptr CStatVFS -> IO CInt
 - c_statvfs :: CString -> Ptr CStatVFS -> IO CInt
 - data StatVFS = StatVFS {}
 - statVFS_st_rdonly :: CULong
 - statVFS_st_nosuid :: CULong
 - toStatVFS :: Ptr CStatVFS -> IO StatVFS
 - fStatVFS :: Fd -> IO StatVFS
 - statVFS :: FilePath -> IO StatVFS
 
Documentation
File system information record, reflects data mentioned in the statvfs(3) manual
Constructors
| StatVFS | |
Fields 
  | |