posix-api-0.2.0.0: posix bindings

Safe HaskellNone
LanguageHaskell2010

Posix.Directory

Synopsis

Documentation

getCurrentWorkingDirectory :: IO (Either Errno ByteArray) Source #

Get the current working directory without using the system locale to convert it to text. This is implemented with a safe FFI call since it may block.