base-4.8.2.0: Basic libraries

Copyright(c) The University of Glasgow 2002
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilitynon-portable (requires POSIX)
Safe HaskellTrustworthy
LanguageHaskell2010

System.Posix.Types

Contents

Description

POSIX data types: Haskell equivalents of the types defined by the <sys/types.h> C header on a POSIX system.

Synopsis

POSIX data types

newtype CDev Source

Constructors

CDev Word64 

Instances

Bounded CDev Source 
Enum CDev Source 
Eq CDev Source 

Methods

(==) :: CDev -> CDev -> Bool

(/=) :: CDev -> CDev -> Bool

Integral CDev Source 
Num CDev Source 
Ord CDev Source 

Methods

compare :: CDev -> CDev -> Ordering

(<) :: CDev -> CDev -> Bool

(<=) :: CDev -> CDev -> Bool

(>) :: CDev -> CDev -> Bool

(>=) :: CDev -> CDev -> Bool

max :: CDev -> CDev -> CDev

min :: CDev -> CDev -> CDev

Read CDev Source 
Real CDev Source 
Show CDev Source 
FiniteBits CDev Source 
Bits CDev Source 
Storable CDev Source 

newtype CIno Source

Constructors

CIno Word64 

Instances

Bounded CIno Source 
Enum CIno Source 
Eq CIno Source 

Methods

(==) :: CIno -> CIno -> Bool

(/=) :: CIno -> CIno -> Bool

Integral CIno Source 
Num CIno Source 
Ord CIno Source 

Methods

compare :: CIno -> CIno -> Ordering

(<) :: CIno -> CIno -> Bool

(<=) :: CIno -> CIno -> Bool

(>) :: CIno -> CIno -> Bool

(>=) :: CIno -> CIno -> Bool

max :: CIno -> CIno -> CIno

min :: CIno -> CIno -> CIno

Read CIno Source 
Real CIno Source 
Show CIno Source 
FiniteBits CIno Source 
Bits CIno Source 
Storable CIno Source 

newtype CMode Source

Constructors

CMode Word32 

Instances

Bounded CMode Source 
Enum CMode Source 
Eq CMode Source 

Methods

(==) :: CMode -> CMode -> Bool

(/=) :: CMode -> CMode -> Bool

Integral CMode Source 
Num CMode Source 
Ord CMode Source 

Methods

compare :: CMode -> CMode -> Ordering

(<) :: CMode -> CMode -> Bool

(<=) :: CMode -> CMode -> Bool

(>) :: CMode -> CMode -> Bool

(>=) :: CMode -> CMode -> Bool

max :: CMode -> CMode -> CMode

min :: CMode -> CMode -> CMode

Read CMode Source 
Real CMode Source 
Show CMode Source 
FiniteBits CMode Source 
Bits CMode Source 
Storable CMode Source 

newtype COff Source

Constructors

COff Int64 

Instances

Bounded COff Source 
Enum COff Source 
Eq COff Source 

Methods

(==) :: COff -> COff -> Bool

(/=) :: COff -> COff -> Bool

Integral COff Source 
Num COff Source 
Ord COff Source 

Methods

compare :: COff -> COff -> Ordering

(<) :: COff -> COff -> Bool

(<=) :: COff -> COff -> Bool

(>) :: COff -> COff -> Bool

(>=) :: COff -> COff -> Bool

max :: COff -> COff -> COff

min :: COff -> COff -> COff

Read COff Source 
Real COff Source 
Show COff Source 
FiniteBits COff Source 
Bits COff Source 
Storable COff Source 

newtype CPid Source

Constructors

CPid Int32 

Instances

Bounded CPid Source 
Enum CPid Source 
Eq CPid Source 

Methods

(==) :: CPid -> CPid -> Bool

(/=) :: CPid -> CPid -> Bool

Integral CPid Source 
Num CPid Source 
Ord CPid Source 

Methods

compare :: CPid -> CPid -> Ordering

(<) :: CPid -> CPid -> Bool

(<=) :: CPid -> CPid -> Bool

(>) :: CPid -> CPid -> Bool

(>=) :: CPid -> CPid -> Bool

max :: CPid -> CPid -> CPid

min :: CPid -> CPid -> CPid

Read CPid Source 
Real CPid Source 
Show CPid Source 
FiniteBits CPid Source 
Bits CPid Source 
Storable CPid Source 

newtype CSsize Source

Constructors

CSsize Int64 

Instances

Bounded CSsize Source 
Enum CSsize Source 
Eq CSsize Source 

Methods

(==) :: CSsize -> CSsize -> Bool

(/=) :: CSsize -> CSsize -> Bool

Integral CSsize Source 
Num CSsize Source 
Ord CSsize Source 
Read CSsize Source 
Real CSsize Source 
Show CSsize Source 
FiniteBits CSsize Source 
Bits CSsize Source 
Storable CSsize Source 

newtype CGid Source

Constructors

CGid Word32 

Instances

Bounded CGid Source 
Enum CGid Source 
Eq CGid Source 

Methods

(==) :: CGid -> CGid -> Bool

(/=) :: CGid -> CGid -> Bool

Integral CGid Source 
Num CGid Source 
Ord CGid Source 

Methods

compare :: CGid -> CGid -> Ordering

(<) :: CGid -> CGid -> Bool

(<=) :: CGid -> CGid -> Bool

(>) :: CGid -> CGid -> Bool

(>=) :: CGid -> CGid -> Bool

max :: CGid -> CGid -> CGid

min :: CGid -> CGid -> CGid

Read CGid Source 
Real CGid Source 
Show CGid Source 
FiniteBits CGid Source 
Bits CGid Source 
Storable CGid Source 

newtype CNlink Source

Constructors

CNlink Word64 

newtype CUid Source

Constructors

CUid Word32 

Instances

Bounded CUid Source 
Enum CUid Source 
Eq CUid Source 

Methods

(==) :: CUid -> CUid -> Bool

(/=) :: CUid -> CUid -> Bool

Integral CUid Source 
Num CUid Source 
Ord CUid Source 

Methods

compare :: CUid -> CUid -> Ordering

(<) :: CUid -> CUid -> Bool

(<=) :: CUid -> CUid -> Bool

(>) :: CUid -> CUid -> Bool

(>=) :: CUid -> CUid -> Bool

max :: CUid -> CUid -> CUid

min :: CUid -> CUid -> CUid

Read CUid Source 
Real CUid Source 
Show CUid Source 
FiniteBits CUid Source 
Bits CUid Source 
Storable CUid Source 

newtype CCc Source

Constructors

CCc Word8 

Instances

Enum CCc Source 
Eq CCc Source 

Methods

(==) :: CCc -> CCc -> Bool

(/=) :: CCc -> CCc -> Bool

Num CCc Source 
Ord CCc Source 

Methods

compare :: CCc -> CCc -> Ordering

(<) :: CCc -> CCc -> Bool

(<=) :: CCc -> CCc -> Bool

(>) :: CCc -> CCc -> Bool

(>=) :: CCc -> CCc -> Bool

max :: CCc -> CCc -> CCc

min :: CCc -> CCc -> CCc

Read CCc Source 
Real CCc Source 
Show CCc Source 
Storable CCc Source 

newtype CSpeed Source

Constructors

CSpeed Word32 

Instances

Enum CSpeed Source 
Eq CSpeed Source 

Methods

(==) :: CSpeed -> CSpeed -> Bool

(/=) :: CSpeed -> CSpeed -> Bool

Num CSpeed Source 
Ord CSpeed Source 
Read CSpeed Source 
Real CSpeed Source 
Show CSpeed Source 
Storable CSpeed Source 

newtype CTcflag Source

Constructors

CTcflag Word32 

Instances

Bounded CTcflag Source 
Enum CTcflag Source 
Eq CTcflag Source 

Methods

(==) :: CTcflag -> CTcflag -> Bool

(/=) :: CTcflag -> CTcflag -> Bool

Integral CTcflag Source 
Num CTcflag Source 
Ord CTcflag Source 
Read CTcflag Source 
Real CTcflag Source 
Show CTcflag Source 
FiniteBits CTcflag Source 
Bits CTcflag Source 
Storable CTcflag Source 

newtype CRLim Source

Constructors

CRLim Word64 

Instances

Bounded CRLim Source 
Enum CRLim Source 
Eq CRLim Source 

Methods

(==) :: CRLim -> CRLim -> Bool

(/=) :: CRLim -> CRLim -> Bool

Integral CRLim Source 
Num CRLim Source 
Ord CRLim Source 

Methods

compare :: CRLim -> CRLim -> Ordering

(<) :: CRLim -> CRLim -> Bool

(<=) :: CRLim -> CRLim -> Bool

(>) :: CRLim -> CRLim -> Bool

(>=) :: CRLim -> CRLim -> Bool

max :: CRLim -> CRLim -> CRLim

min :: CRLim -> CRLim -> CRLim

Read CRLim Source 
Real CRLim Source 
Show CRLim Source 
FiniteBits CRLim Source 
Bits CRLim Source 
Storable CRLim Source 

newtype Fd Source

Constructors

Fd CInt 

Instances

Bounded Fd Source 
Enum Fd Source 
Eq Fd Source 

Methods

(==) :: Fd -> Fd -> Bool

(/=) :: Fd -> Fd -> Bool

Integral Fd Source 

Methods

quot :: Fd -> Fd -> Fd Source

rem :: Fd -> Fd -> Fd Source

div :: Fd -> Fd -> Fd Source

mod :: Fd -> Fd -> Fd Source

quotRem :: Fd -> Fd -> (Fd, Fd) Source

divMod :: Fd -> Fd -> (Fd, Fd) Source

toInteger :: Fd -> Integer Source

Num Fd Source 

Methods

(+) :: Fd -> Fd -> Fd Source

(-) :: Fd -> Fd -> Fd Source

(*) :: Fd -> Fd -> Fd Source

negate :: Fd -> Fd Source

abs :: Fd -> Fd Source

signum :: Fd -> Fd Source

fromInteger :: Integer -> Fd Source

Ord Fd Source 

Methods

compare :: Fd -> Fd -> Ordering

(<) :: Fd -> Fd -> Bool

(<=) :: Fd -> Fd -> Bool

(>) :: Fd -> Fd -> Bool

(>=) :: Fd -> Fd -> Bool

max :: Fd -> Fd -> Fd

min :: Fd -> Fd -> Fd

Read Fd Source 
Real Fd Source 
Show Fd Source 
FiniteBits Fd Source 
Bits Fd Source 
Storable Fd Source 

Methods

sizeOf :: Fd -> Int Source

alignment :: Fd -> Int Source

peekElemOff :: Ptr Fd -> Int -> IO Fd Source

pokeElemOff :: Ptr Fd -> Int -> Fd -> IO () Source

peekByteOff :: Ptr b -> Int -> IO Fd Source

pokeByteOff :: Ptr b -> Int -> Fd -> IO () Source

peek :: Ptr Fd -> IO Fd Source

poke :: Ptr Fd -> Fd -> IO () Source