cardano-cli
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.CLI.OS.Posix

Documentation

module System.IO

dup :: Fd -> IO Fd #

closeFd :: Fd -> IO () #

pattern DontSync :: StatxFlags #

pattern StatxAll :: StatxMask #

pattern StatxGid :: StatxMask #

pattern StatxIno :: StatxMask #

pattern StatxMode :: StatxMask #

pattern StatxSize :: StatxMask #

pattern StatxType :: StatxMask #

pattern StatxUid :: StatxMask #

setFdMode :: Fd -> FileMode -> IO () #

setFdSize :: Fd -> FileOffset -> IO () #

touchFd :: Fd -> IO () #

dupTo :: Fd -> Fd -> IO Fd #

setFdOption :: Fd -> FdOption -> Bool -> IO () #

setLock :: Fd -> FileLock -> IO () #

newtype CAttributes #

Constructors

CAttributes Word64 

Instances

Instances details
Storable CAttributes 
Instance details

Defined in System.Posix.Files.Common

Bits CAttributes 
Instance details

Defined in System.Posix.Files.Common

Num CAttributes 
Instance details

Defined in System.Posix.Files.Common

Read CAttributes 
Instance details

Defined in System.Posix.Files.Common

Show CAttributes 
Instance details

Defined in System.Posix.Files.Common

Eq CAttributes 
Instance details

Defined in System.Posix.Files.Common

Ord CAttributes 
Instance details

Defined in System.Posix.Files.Common

newtype ExtendedFileStatus #

Constructors

ExtendedFileStatus (ForeignPtr CStatx) 

newtype FileStatus #

Constructors

FileStatus (ForeignPtr CStat) 

newtype StatxFlags #

Constructors

StatxFlags CInt 

Instances

Instances details
Monoid StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Semigroup StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Bits StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Enum StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Num StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Read StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Integral StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Real StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Show StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Eq StatxFlags 
Instance details

Defined in System.Posix.Files.Common

Ord StatxFlags 
Instance details

Defined in System.Posix.Files.Common

newtype StatxMask #

Constructors

StatxMask CInt 

Instances

Instances details
Monoid StatxMask 
Instance details

Defined in System.Posix.Files.Common

Semigroup StatxMask 
Instance details

Defined in System.Posix.Files.Common

Bits StatxMask 
Instance details

Defined in System.Posix.Files.Common

Enum StatxMask 
Instance details

Defined in System.Posix.Files.Common

Num StatxMask 
Instance details

Defined in System.Posix.Files.Common

Read StatxMask 
Instance details

Defined in System.Posix.Files.Common

Integral StatxMask 
Instance details

Defined in System.Posix.Files.Common

Real StatxMask 
Instance details

Defined in System.Posix.Files.Common

Show StatxMask 
Instance details

Defined in System.Posix.Files.Common

Eq StatxMask 
Instance details

Defined in System.Posix.Files.Common

Ord StatxMask 
Instance details

Defined in System.Posix.Files.Common

data LockRequest #

Constructors

ReadLock 
WriteLock 
Unlock