projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bba5c15
)
[project @ 2002-09-09 15:13:47 by simonmar]
author
simonmar
<unknown>
Mon, 9 Sep 2002 15:13:47 +0000
(15:13 +0000)
committer
simonmar
<unknown>
Mon, 9 Sep 2002 15:13:47 +0000
(15:13 +0000)
Comments only
System/Posix/Types.hs
patch
|
blob
|
history
diff --git
a/System/Posix/Types.hs
b/System/Posix/Types.hs
index
7edc927
..
be01bec
100644
(file)
--- a/
System/Posix/Types.hs
+++ b/
System/Posix/Types.hs
@@
-9,13
+9,16
@@
-- Stability : provisional
-- Portability : non-portable (requires POSIX)
--
-- 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 (
--
-----------------------------------------------------------------------------
#include "config.h"
module System.Posix.Types (
+
+ -- * POSIX data types
CDev(..), CIno(..), CMode(..), COff(..), CPid(..), CSsize(..),
#ifndef mingw32_TARGET_OS
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
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)
-- Make an Fd type rather than using CInt everywhere
INTEGRAL_TYPE(Fd,tyConFd,"Fd",CInt)