Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
module System.IO
data OpenFileFlags #
Instances
Read OpenFileFlags | |
Defined in System.Posix.IO.Common | |
Show OpenFileFlags | |
Defined in System.Posix.IO.Common | |
Eq OpenFileFlags | |
Defined in System.Posix.IO.Common (==) :: OpenFileFlags -> OpenFileFlags -> Bool Source # (/=) :: OpenFileFlags -> OpenFileFlags -> Bool Source # | |
Ord OpenFileFlags | |
Defined in System.Posix.IO.Common compare :: OpenFileFlags -> OpenFileFlags -> Ordering Source # (<) :: OpenFileFlags -> OpenFileFlags -> Bool Source # (<=) :: OpenFileFlags -> OpenFileFlags -> Bool Source # (>) :: OpenFileFlags -> OpenFileFlags -> Bool Source # (>=) :: OpenFileFlags -> OpenFileFlags -> Bool Source # max :: OpenFileFlags -> OpenFileFlags -> OpenFileFlags Source # min :: OpenFileFlags -> OpenFileFlags -> OpenFileFlags Source # |
createPipe :: IO (Fd, Fd) #
fdToHandle :: Fd -> IO Handle #
handleToFd :: Handle -> IO Fd #
readSymbolicLink :: FilePath -> IO FilePath #
Instances
Read OpenMode | |
Show OpenMode | |
Eq OpenMode | |
Ord OpenMode | |
Defined in System.Posix.IO.Common |
fileSize :: FileStatus -> FileOffset #
type FileLock = (LockRequest, SeekMode, FileOffset, FileOffset) #
createNamedPipe :: FilePath -> FileMode -> IO () #
createLink :: FilePath -> FilePath -> IO () #
createSymbolicLink :: FilePath -> FilePath -> IO () #
getExtendedFileStatus :: Maybe Fd -> FilePath -> StatxFlags -> StatxMask -> IO ExtendedFileStatus #
getFileStatus :: FilePath -> IO FileStatus #
removeLink :: FilePath -> IO () #
setFileMode :: FilePath -> FileMode -> IO () #
setFileSize :: FilePath -> FileOffset -> IO () #
touchSymbolicLink :: FilePath -> IO () #
pattern DontSync :: StatxFlags #
pattern EmptyPath :: StatxFlags #
pattern ForceSync :: StatxFlags #
pattern NoAutoMount :: StatxFlags #
pattern StatxAtime :: StatxMask #
pattern StatxBasicStats :: StatxMask #
pattern StatxBlocks :: StatxMask #
pattern StatxBtime :: StatxMask #
pattern StatxCtime :: StatxMask #
pattern StatxMntId :: StatxMask #
pattern StatxMtime :: StatxMask #
pattern StatxNlink :: StatxMask #
pattern SymlinkNoFollow :: StatxFlags #
pattern SyncAsStat :: StatxFlags #
accessModes :: FileMode #
accessTime :: FileStatus -> EpochTime #
accessTimeHiRes :: FileStatus -> POSIXTime #
deviceID :: FileStatus -> DeviceID #
deviceIDX :: ExtendedFileStatus -> DeviceID #
fileAppendX :: ExtendedFileStatus -> Bool #
fileBlockSize :: FileStatus -> Maybe CBlkSize #
fileBlocks :: FileStatus -> Maybe CBlkCnt #
fileBlocksX :: ExtendedFileStatus -> Word64 #
fileDaxX :: ExtendedFileStatus -> Bool #
fileGroup :: FileStatus -> GroupID #
fileGroupX :: ExtendedFileStatus -> GroupID #
fileID :: FileStatus -> FileID #
fileIDX :: ExtendedFileStatus -> FileID #
fileMode :: FileStatus -> FileMode #
fileModeX :: ExtendedFileStatus -> FileMode #
fileNoDumpX :: ExtendedFileStatus -> Bool #
fileOwner :: FileStatus -> UserID #
fileOwnerX :: ExtendedFileStatus -> UserID #
fileSizeX :: ExtendedFileStatus -> Word64 #
fileVerityX :: ExtendedFileStatus -> Bool #
getFdStatus :: Fd -> IO FileStatus #
groupModes :: FileMode #
intersectFileModes :: FileMode -> FileMode -> FileMode #
isBlockDevice :: FileStatus -> Bool #
isCharacterDevice :: FileStatus -> Bool #
isDirectory :: FileStatus -> Bool #
isDirectoryX :: ExtendedFileStatus -> Bool #
isNamedPipe :: FileStatus -> Bool #
isNamedPipeX :: ExtendedFileStatus -> Bool #
isRegularFile :: FileStatus -> Bool #
isSocket :: FileStatus -> Bool #
isSocketX :: ExtendedFileStatus -> Bool #
isSymbolicLink :: FileStatus -> Bool #
linkCount :: FileStatus -> LinkCount #
linkCountX :: ExtendedFileStatus -> CNlink #
modificationTime :: FileStatus -> EpochTime #
mountIDX :: ExtendedFileStatus -> Word64 #
otherModes :: FileMode #
ownerModes :: FileMode #
setFdSize :: Fd -> FileOffset -> IO () #
setFileCreationMask :: FileMode -> IO FileMode #
socketMode :: FileMode #
specialDeviceID :: FileStatus -> DeviceID #
statusChangeTime :: FileStatus -> EpochTime #
stdFileMode :: FileMode #
unionFileModes :: FileMode -> FileMode -> FileMode #
fdSeek :: Fd -> SeekMode -> FileOffset -> IO FileOffset #
waitToSetLock :: Fd -> FileLock -> IO () #
newtype CAttributes #
Instances
newtype ExtendedFileStatus #
ExtendedFileStatus (ForeignPtr CStatx) |
newtype FileStatus #
newtype StatxFlags #