[project @ 2002-09-09 15:13:47 by simonmar]
authorsimonmar <unknown>
Mon, 9 Sep 2002 15:13:47 +0000 (15:13 +0000)
committersimonmar <unknown>
Mon, 9 Sep 2002 15:13:47 +0000 (15:13 +0000)
Comments only

System/Posix/Types.hs

index 7edc927..be01bec 100644 (file)
@@ -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)