posix-api-0.7.2.0: posix bindings
Safe HaskellSafe-Inferred
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.