diff options
Diffstat (limited to 'libraries/base')
-rw-r--r-- | libraries/base/System/Posix/Types.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/base/System/Posix/Types.hs b/libraries/base/System/Posix/Types.hs index 7edc92732e..be01becabb 100644 --- a/libraries/base/System/Posix/Types.hs +++ b/libraries/base/System/Posix/Types.hs @@ -9,13 +9,16 @@ -- Stability : provisional -- Portability : non-portable (requires POSIX) -- --- POSIX data types +-- POSIX data types: Haskell equivalents of the types defined by the +-- @\<sys/types.h>@ C header on a POSIX system. -- ----------------------------------------------------------------------------- #include "config.h" module System.Posix.Types ( + + -- * POSIX data types CDev(..), CIno(..), CMode(..), COff(..), CPid(..), CSsize(..), #ifndef mingw32_TARGET_OS @@ -82,6 +85,9 @@ INTEGRAL_TYPE(CTcflag,tyConCTcflag,"CTcflag",HTYPE_TCFLAG_T) INTEGRAL_TYPE(CBlkCnt,tyConBlkCnd,"CBlkCnt",HTYPE_BLKCNT_T) #endif +-- ToDo: blksize_t, clockid_t, fsblkcnt_t, fsfilcnt_t, id_t, key_t +-- suseconds_t, timer_t, useconds_t + -- Make an Fd type rather than using CInt everywhere INTEGRAL_TYPE(Fd,tyConFd,"Fd",CInt) |