[project @ 2001-05-18 16:54:04 by simonmar]
[ghc-hetmet.git] / ghc / lib / std / PrelPosixTypes.hsc
1 -----------------------------------------------------------------------------
2 -- $Id: PrelPosixTypes.hsc,v 1.3 2001/02/27 10:03:22 rrt Exp $
3 -- 
4 -- (c) 2000
5 -- 
6 -- Module PrelPosixTypes
7
8 module PrelPosixTypes where
9
10 import PrelWord
11 import PrelInt
12
13 #include <sys/types.h>
14 #ifndef mingw32_TARGET_OS
15 #include <termios.h>
16 #endif
17
18 data CDir    = CDir
19
20 type CDev    = #type dev_t
21 type CIno    = #type ino_t
22 type CMode   = #type mode_t
23 type COff    = #type off_t
24 type CPid    = #type pid_t
25 #ifndef mingw32_TARGET_OS
26 type CGid    = #type gid_t
27 type CNlink  = #type nlink_t
28 type CSsize  = #type ssize_t
29 type CUid    = #type uid_t
30 type CCc     = #type cc_t
31 type CSpeed  = #type speed_t
32 type CTcflag = #type tcflag_t
33 #endif