diff options
author | simonmar <unknown> | 2002-12-19 13:52:55 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-12-19 13:52:55 +0000 |
commit | f46082b665d7748bdec2981e21d332ee90a7c1cd (patch) | |
tree | f6f6b13fc4d7b60694430ccf8be29f97bed2e57d /System/Posix/Files.hsc | |
parent | 7ad2b37cfbe3977a0a5e69c85941aa84c9e57286 (diff) |
[project @ 2002-12-19 13:52:55 by simonmar]
Fill in some more bits in the new Unix library: specifically the
contents of PosixTTY and PosixDB (now System.Posix.Terminal and
System.Posix.User respectively).
We're now about 95% complete w.r.t. the old posix library. I've
identified the reminaing bits to do in System/Posix.hs.
Diffstat (limited to 'System/Posix/Files.hsc')
-rw-r--r-- | System/Posix/Files.hsc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/System/Posix/Files.hsc b/System/Posix/Files.hsc index a12b34c..660c7ae 100644 --- a/System/Posix/Files.hsc +++ b/System/Posix/Files.hsc @@ -15,7 +15,7 @@ module System.Posix.Files ( -- * File modes - FileMode, + -- FileMode exported by System.Posix.Types unionFileModes, intersectFileModes, nullFileMode, ownerReadMode, ownerWriteMode, ownerExecuteMode, ownerModes, @@ -74,6 +74,7 @@ module System.Posix.Files ( -} ) where +#include "HsUnix.h" import System.Posix.Types import System.IO.Unsafe @@ -82,12 +83,6 @@ import GHC.Posix import Foreign import Foreign.C -#include <sys/stat.h> -#include <unistd.h> -#include <utime.h> -#include <fcntl.h> -#include <limits.h> - -- ----------------------------------------------------------------------------- -- POSIX file modes |