hpath-0.9.2: Support for well-typed paths
Safe HaskellSafe
LanguageHaskell2010

System.Posix.Directory.Foreign

Synopsis

Documentation

newtype DirType Source #

Constructors

DirType Int 

Instances

Instances details
Eq DirType Source # 
Instance details

Defined in System.Posix.Directory.Foreign

Methods

(==) :: DirType -> DirType -> Bool #

(/=) :: DirType -> DirType -> Bool #

Show DirType Source # 
Instance details

Defined in System.Posix.Directory.Foreign

data Flags Source #

Instances

Instances details
Eq Flags Source # 
Instance details

Defined in System.Posix.Directory.Foreign

Methods

(==) :: Flags -> Flags -> Bool #

(/=) :: Flags -> Flags -> Bool #

Show Flags Source # 
Instance details

Defined in System.Posix.Directory.Foreign

Methods

showsPrec :: Int -> Flags -> ShowS #

show :: Flags -> String #

showList :: [Flags] -> ShowS #

isSupported :: Flags -> Bool Source #

Returns True if posix-paths was compiled with support for the provided flag. (As of this writing, the only flag for which this check may be necessary is oCloexec; all other flags will always yield True.)

oCloexec :: Flags Source #

O_CLOEXEC is not supported on every POSIX platform. Use isSupported oCloexec to determine if support for O_CLOEXEC was compiled into your version of posix-paths. (If not, using oCloexec will throw an exception.)