unix-2.8.6.0: POSIX functionality
Copyright(c) The University of Glasgow 2002
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilitynon-portable (requires POSIX)
Safe HaskellSafe
LanguageHaskell2010

System.Posix.Error

Description

POSIX error support

Synopsis

Documentation

throwErrnoPath :: String -> FilePath -> IO a #

as throwErrno , but exceptions include the given path when appropriate.

throwErrnoPathIf :: (a -> Bool) -> String -> FilePath -> IO a -> IO a #

as throwErrnoIf , but exceptions include the given path when appropriate.

throwErrnoPathIf_ :: (a -> Bool) -> String -> FilePath -> IO a -> IO () #

as throwErrnoIf_ , but exceptions include the given path when appropriate.

throwErrnoPathIfRetry :: (a -> Bool) -> String -> FilePath -> IO a -> IO a Source #

throwErrnoPathIfNull :: String -> FilePath -> IO (Ptr a) -> IO (Ptr a) #

as throwErrnoIfNull , but exceptions include the given path when appropriate.

throwErrnoPathIfNullRetry :: String -> FilePath -> IO (Ptr a) -> IO (Ptr a) Source #

throwErrnoPathIfMinus1 :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a #

as throwErrnoIfMinus1 , but exceptions include the given path when appropriate.

throwErrnoPathIfMinus1_ :: (Eq a, Num a) => String -> FilePath -> IO a -> IO () #

as throwErrnoIfMinus1_ , but exceptions include the given path when appropriate.

throwErrnoPathIfMinus1Retry :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a Source #

throwErrnoPathIfMinus1Retry_ :: (Eq a, Num a) => String -> FilePath -> IO a -> IO () Source #

AltStyle によって変換されたページ (->オリジナル) /