summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-09-09 15:13:47 +0000
committersimonmar <unknown>2002-09-09 15:13:47 +0000
commit0a678e9bd20434ba5b4b4486630d394867bb401c (patch)
treeeb7685c84259d24b263b581ef35f665bba6ec9de /libraries/base
parenteea0c94904cd4ac3a7fd19a796151e9fa8d41434 (diff)
downloadhaskell-0a678e9bd20434ba5b4b4486630d394867bb401c.tar.gz
[project @ 2002-09-09 15:13:47 by simonmar]
Comments only
Diffstat (limited to 'libraries/base')
-rw-r--r--libraries/base/System/Posix/Types.hs8
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)