base-4.10.1.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

Platform differences

This module contains platform specific information about types. __/As such the types presented on this page reflect the platform on which the documentation was generated and may not coincide with the types on your platform./__

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 CBlkSize Source #

Since: 4.10.0.0

Constructors

CBlkSize Int64 

Instances

Bounded CBlkSize Source # 
Enum CBlkSize Source # 
Eq CBlkSize Source # 
Integral CBlkSize Source # 
Num CBlkSize Source # 
Ord CBlkSize Source # 
Read CBlkSize Source # 
Real CBlkSize Source # 
Show CBlkSize Source # 
FiniteBits CBlkSize Source # 
Bits CBlkSize Source # 
Storable CBlkSize Source # 

newtype CBlkCnt Source #

Since: 4.10.0.0

Constructors

CBlkCnt Int64 

Instances

Bounded CBlkCnt Source # 
Enum CBlkCnt Source # 
Eq CBlkCnt Source # 

Methods

(==) :: CBlkCnt -> CBlkCnt -> Bool #

(/=) :: CBlkCnt -> CBlkCnt -> Bool #

Integral CBlkCnt Source # 
Num CBlkCnt Source # 
Ord CBlkCnt Source # 
Read CBlkCnt Source # 
Real CBlkCnt Source # 
Show CBlkCnt Source # 
FiniteBits CBlkCnt Source # 
Bits CBlkCnt Source # 
Storable CBlkCnt Source # 

newtype CClockId Source #

Since: 4.10.0.0

Constructors

CClockId Int32 

Instances

Bounded CClockId Source # 
Enum CClockId Source # 
Eq CClockId Source # 
Integral CClockId Source # 
Num CClockId Source # 
Ord CClockId Source # 
Read CClockId Source # 
Real CClockId Source # 
Show CClockId Source # 
FiniteBits CClockId Source # 
Bits CClockId Source # 
Storable CClockId Source # 

newtype CFsBlkCnt Source #

Since: 4.10.0.0

Constructors

CFsBlkCnt Word64 

Instances

Bounded CFsBlkCnt Source # 
Enum CFsBlkCnt Source # 
Eq CFsBlkCnt Source # 
Integral CFsBlkCnt Source # 
Num CFsBlkCnt Source # 
Ord CFsBlkCnt Source # 
Read CFsBlkCnt Source # 
Real CFsBlkCnt Source # 
Show CFsBlkCnt Source # 
FiniteBits CFsBlkCnt Source # 
Bits CFsBlkCnt Source # 
Storable CFsBlkCnt Source # 

newtype CFsFilCnt Source #

Since: 4.10.0.0

Constructors

CFsFilCnt Word64 

Instances

Bounded CFsFilCnt Source # 
Enum CFsFilCnt Source # 
Eq CFsFilCnt Source # 
Integral CFsFilCnt Source # 
Num CFsFilCnt Source # 
Ord CFsFilCnt Source # 
Read CFsFilCnt Source # 
Real CFsFilCnt Source # 
Show CFsFilCnt Source # 
FiniteBits CFsFilCnt Source # 
Bits CFsFilCnt Source # 
Storable CFsFilCnt Source # 

newtype CId Source #

Since: 4.10.0.0

Constructors

CId Word32 

Instances

Bounded CId Source # 
Enum CId Source # 
Eq CId Source # 

Methods

(==) :: CId -> CId -> Bool #

(/=) :: CId -> CId -> Bool #

Integral CId Source # 

Methods

quot :: CId -> CId -> CId Source #

rem :: CId -> CId -> CId Source #

div :: CId -> CId -> CId Source #

mod :: CId -> CId -> CId Source #

quotRem :: CId -> CId -> (CId, CId) Source #

divMod :: CId -> CId -> (CId, CId) Source #

toInteger :: CId -> Integer Source #

Num CId Source # 
Ord CId Source # 

Methods

compare :: CId -> CId -> Ordering #

(<) :: CId -> CId -> Bool #

(<=) :: CId -> CId -> Bool #

(>) :: CId -> CId -> Bool #

(>=) :: CId -> CId -> Bool #

max :: CId -> CId -> CId #

min :: CId -> CId -> CId #

Read CId Source # 
Real CId Source # 
Show CId Source # 
FiniteBits CId Source # 
Bits CId Source # 
Storable CId Source # 

newtype CKey Source #

Since: 4.10.0.0

Constructors

CKey Int32 

Instances

Bounded CKey Source # 
Enum CKey Source # 
Eq CKey Source # 

Methods

(==) :: CKey -> CKey -> Bool #

(/=) :: CKey -> CKey -> Bool #

Integral CKey Source # 
Num CKey Source # 
Ord CKey Source # 

Methods

compare :: CKey -> CKey -> Ordering #

(<) :: CKey -> CKey -> Bool #

(<=) :: CKey -> CKey -> Bool #

(>) :: CKey -> CKey -> Bool #

(>=) :: CKey -> CKey -> Bool #

max :: CKey -> CKey -> CKey #

min :: CKey -> CKey -> CKey #

Read CKey Source # 
Real CKey Source # 
Show CKey Source # 
FiniteBits CKey Source # 
Bits CKey Source # 
Storable CKey Source # 

newtype Fd Source #

Constructors

Fd CInt 

Instances

Bounded Fd Source # 
Enum Fd Source # 

Methods

succ :: Fd -> Fd Source #

pred :: Fd -> Fd Source #

toEnum :: Int -> Fd Source #

fromEnum :: Fd -> Int Source #

enumFrom :: Fd -> [Fd] Source #

enumFromThen :: Fd -> Fd -> [Fd] Source #

enumFromTo :: Fd -> Fd -> [Fd] Source #

enumFromThenTo :: Fd -> Fd -> Fd -> [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 #