Provides some types and related items on Windows to be compatible with the System.Posix.* libraries
See also System.IO.StatCompat, which this module re-exports.
Copyright (c) 2005 John Goerzen, firstname.lastname@example.org
On non-Windows platforms, this module does nothing.
On Windows, it re-exports System.IO.StatCompat. It also provides various file type information modes that are otherwise in System.Posix.Types or System.Posix.Files. It also provides a rudimentary implemention of getFileStatus that emulates the Posix call to stat(2).
Common usage might be like this:
import System.Posix.Types #ifdef mingw32_HOST_OS import System.IO.WindowsCompat #else import System.Posix.Files #endif
Or, to avoid having to use CPP and make things even easier, just import System.IO.PlafCompat, which essentially does the above.
|Produced by Haddock version 0.8|