| Copyright | (c) The University of Glasgow 2002 | 
|---|---|
| License | BSD-style (see the file libraries/base/LICENSE) | 
| Maintainer | libraries@haskell.org | 
| Stability | provisional | 
| Portability | non-portable (requires POSIX) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
System.Posix.PosixPath.FilePath
Description
Internal stuff: support for ByteString FilePaths
Synopsis
- withFilePath :: PosixPath -> (CString -> IO a) -> IO a
- peekFilePath :: CString -> IO PosixPath
- peekFilePathLen :: CStringLen -> IO PosixPath
- throwErrnoPathIfMinus1Retry :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO a
- throwErrnoPathIfMinus1Retry_ :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO ()
- throwErrnoPathIfNullRetry :: String -> PosixPath -> IO (Ptr a) -> IO (Ptr a)
- throwErrnoPathIfRetry :: (a -> Bool) -> String -> PosixPath -> IO a -> IO a
- throwErrnoPath :: String -> PosixPath -> IO a
- throwErrnoPathIf :: (a -> Bool) -> String -> PosixPath -> IO a -> IO a
- throwErrnoPathIf_ :: (a -> Bool) -> String -> PosixPath -> IO a -> IO ()
- throwErrnoPathIfNull :: String -> PosixPath -> IO (Ptr a) -> IO (Ptr a)
- throwErrnoPathIfMinus1 :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO a
- throwErrnoPathIfMinus1_ :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO ()
- throwErrnoTwoPathsIfMinus1_ :: (Eq a, Num a) => String -> PosixPath -> PosixPath -> IO a -> IO ()
Documentation
peekFilePathLen :: CStringLen -> IO PosixPath Source #
throwErrnoPath :: String -> PosixPath -> IO a Source #
as throwErrno, but exceptions include the given path when appropriate.
throwErrnoPathIf :: (a -> Bool) -> String -> PosixPath -> IO a -> IO a Source #
as throwErrnoIf, but exceptions include the given path when
   appropriate.
throwErrnoPathIf_ :: (a -> Bool) -> String -> PosixPath -> IO a -> IO () Source #
as throwErrnoIf_, but exceptions include the given path when
   appropriate.
throwErrnoPathIfNull :: String -> PosixPath -> IO (Ptr a) -> IO (Ptr a) Source #
as throwErrnoIfNull, but exceptions include the given path when
   appropriate.
throwErrnoPathIfMinus1 :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO a Source #
as throwErrnoIfMinus1, but exceptions include the given path when
   appropriate.
throwErrnoPathIfMinus1_ :: (Eq a, Num a) => String -> PosixPath -> IO a -> IO () Source #
as throwErrnoIfMinus1_, but exceptions include the given path when
   appropriate.