base-4.11.0.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 # 
Instance details
Enum CDev Source # 
Instance details
Eq CDev Source # 
Instance details

Methods

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

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

Integral CDev Source # 
Instance details
Num CDev Source # 
Instance details
Ord CDev Source # 
Instance details
Read CDev Source # 
Instance details
Real CDev Source # 
Instance details
Show CDev Source # 
Instance details
FiniteBits CDev Source # 
Instance details
Bits CDev Source # 
Instance details
Storable CDev Source # 
Instance details

newtype CIno Source #

Constructors

CIno Word64 
Instances
Bounded CIno Source # 
Instance details
Enum CIno Source # 
Instance details
Eq CIno Source # 
Instance details

Methods

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

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

Integral CIno Source # 
Instance details
Num CIno Source # 
Instance details
Ord CIno Source # 
Instance details
Read CIno Source # 
Instance details
Real CIno Source # 
Instance details
Show CIno Source # 
Instance details
FiniteBits CIno Source # 
Instance details
Bits CIno Source # 
Instance details
Storable CIno Source # 
Instance details

newtype CMode Source #

Constructors

CMode Word32 
Instances
Bounded CMode Source # 
Instance details
Enum CMode Source # 
Instance details
Eq CMode Source # 
Instance details

Methods

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

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

Integral CMode Source # 
Instance details
Num CMode Source # 
Instance details
Ord CMode Source # 
Instance details
Read CMode Source # 
Instance details
Real CMode Source # 
Instance details
Show CMode Source # 
Instance details
FiniteBits CMode Source # 
Instance details
Bits CMode Source # 
Instance details
Storable CMode Source # 
Instance details

newtype COff Source #

Constructors

COff Int64 
Instances
Bounded COff Source # 
Instance details
Enum COff Source # 
Instance details
Eq COff Source # 
Instance details

Methods

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

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

Integral COff Source # 
Instance details
Num COff Source # 
Instance details
Ord COff Source # 
Instance details
Read COff Source # 
Instance details
Real COff Source # 
Instance details
Show COff Source # 
Instance details
FiniteBits COff Source # 
Instance details
Bits COff Source # 
Instance details
Storable COff Source # 
Instance details

newtype CPid Source #

Constructors

CPid Int32 
Instances
Bounded CPid Source # 
Instance details
Enum CPid Source # 
Instance details
Eq CPid Source # 
Instance details

Methods

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

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

Integral CPid Source # 
Instance details
Num CPid Source # 
Instance details
Ord CPid Source # 
Instance details
Read CPid Source # 
Instance details
Real CPid Source # 
Instance details
Show CPid Source # 
Instance details
FiniteBits CPid Source # 
Instance details
Bits CPid Source # 
Instance details
Storable CPid Source # 
Instance details

newtype CSsize Source #

Constructors

CSsize Int64 
Instances
Bounded CSsize Source # 
Instance details
Enum CSsize Source # 
Instance details
Eq CSsize Source # 
Instance details
Integral CSsize Source # 
Instance details
Num CSsize Source # 
Instance details
Ord CSsize Source # 
Instance details
Read CSsize Source # 
Instance details
Real CSsize Source # 
Instance details
Show CSsize Source # 
Instance details
FiniteBits CSsize Source # 
Instance details
Bits CSsize Source # 
Instance details
Storable CSsize Source # 
Instance details

newtype CGid Source #

Constructors

CGid Word32 
Instances
Bounded CGid Source # 
Instance details
Enum CGid Source # 
Instance details
Eq CGid Source # 
Instance details

Methods

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

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

Integral CGid Source # 
Instance details
Num CGid Source # 
Instance details
Ord CGid Source # 
Instance details
Read CGid Source # 
Instance details
Real CGid Source # 
Instance details
Show CGid Source # 
Instance details
FiniteBits CGid Source # 
Instance details
Bits CGid Source # 
Instance details
Storable CGid Source # 
Instance details

newtype CNlink Source #

Constructors

CNlink Word64 

newtype CUid Source #

Constructors

CUid Word32 
Instances
Bounded CUid Source # 
Instance details
Enum CUid Source # 
Instance details
Eq CUid Source # 
Instance details

Methods

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

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

Integral CUid Source # 
Instance details
Num CUid Source # 
Instance details
Ord CUid Source # 
Instance details
Read CUid Source # 
Instance details
Real CUid Source # 
Instance details
Show CUid Source # 
Instance details
FiniteBits CUid Source # 
Instance details
Bits CUid Source # 
Instance details
Storable CUid Source # 
Instance details

newtype CCc Source #

Constructors

CCc Word8 
Instances
Enum CCc Source # 
Instance details
Eq CCc Source # 
Instance details

Methods

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

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

Num CCc Source # 
Instance details
Ord CCc Source # 
Instance details

Methods

compare :: CCc -> CCc -> Ordering Source #

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

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

(>) :: CCc -> CCc -> Bool Source #

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

max :: CCc -> CCc -> CCc Source #

min :: CCc -> CCc -> CCc Source #

Read CCc Source # 
Instance details
Real CCc Source # 
Instance details
Show CCc Source # 
Instance details
Storable CCc Source # 
Instance details

newtype CSpeed Source #

Constructors

CSpeed Word32 
Instances
Enum CSpeed Source # 
Instance details
Eq CSpeed Source # 
Instance details
Num CSpeed Source # 
Instance details
Ord CSpeed Source # 
Instance details
Read CSpeed Source # 
Instance details
Real CSpeed Source # 
Instance details
Show CSpeed Source # 
Instance details
Storable CSpeed Source # 
Instance details

newtype CTcflag Source #

Constructors

CTcflag Word32 
Instances
Bounded CTcflag Source # 
Instance details
Enum CTcflag Source # 
Instance details
Eq CTcflag Source # 
Instance details
Integral CTcflag Source # 
Instance details
Num CTcflag Source # 
Instance details
Ord CTcflag Source # 
Instance details
Read CTcflag Source # 
Instance details
Real CTcflag Source # 
Instance details
Show CTcflag Source # 
Instance details
FiniteBits CTcflag Source # 
Instance details
Bits CTcflag Source # 
Instance details
Storable CTcflag Source # 
Instance details

newtype CRLim Source #

Constructors

CRLim Word64 
Instances
Bounded CRLim Source # 
Instance details
Enum CRLim Source # 
Instance details
Eq CRLim Source # 
Instance details

Methods

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

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

Integral CRLim Source # 
Instance details
Num CRLim Source # 
Instance details
Ord CRLim Source # 
Instance details
Read CRLim Source # 
Instance details
Real CRLim Source # 
Instance details
Show CRLim Source # 
Instance details
FiniteBits CRLim Source # 
Instance details
Bits CRLim Source # 
Instance details
Storable CRLim Source # 
Instance details

newtype CBlkSize Source #

Since: 4.10.0.0

Constructors

CBlkSize Int64 
Instances
Bounded CBlkSize Source # 
Instance details
Enum CBlkSize Source # 
Instance details
Eq CBlkSize Source # 
Instance details
Integral CBlkSize Source # 
Instance details
Num CBlkSize Source # 
Instance details
Ord CBlkSize Source # 
Instance details
Read CBlkSize Source # 
Instance details
Real CBlkSize Source # 
Instance details
Show CBlkSize Source # 
Instance details
FiniteBits CBlkSize Source # 
Instance details
Bits CBlkSize Source # 
Instance details
Storable CBlkSize Source # 
Instance details

newtype CBlkCnt Source #

Since: 4.10.0.0

Constructors

CBlkCnt Int64 
Instances
Bounded CBlkCnt Source # 
Instance details
Enum CBlkCnt Source # 
Instance details
Eq CBlkCnt Source # 
Instance details
Integral CBlkCnt Source # 
Instance details
Num CBlkCnt Source # 
Instance details
Ord CBlkCnt Source # 
Instance details
Read CBlkCnt Source # 
Instance details
Real CBlkCnt Source # 
Instance details
Show CBlkCnt Source # 
Instance details
FiniteBits CBlkCnt Source # 
Instance details
Bits CBlkCnt Source # 
Instance details
Storable CBlkCnt Source # 
Instance details

newtype CClockId Source #

Since: 4.10.0.0

Constructors

CClockId Int32 
Instances
Bounded CClockId Source # 
Instance details
Enum CClockId Source # 
Instance details
Eq CClockId Source # 
Instance details
Integral CClockId Source # 
Instance details
Num CClockId Source # 
Instance details
Ord CClockId Source # 
Instance details
Read CClockId Source # 
Instance details
Real CClockId Source # 
Instance details
Show CClockId Source # 
Instance details
FiniteBits CClockId Source # 
Instance details
Bits CClockId Source # 
Instance details
Storable CClockId Source # 
Instance details

newtype CFsBlkCnt Source #

Since: 4.10.0.0

Constructors

CFsBlkCnt Word64 
Instances
Bounded CFsBlkCnt Source # 
Instance details
Enum CFsBlkCnt Source # 
Instance details
Eq CFsBlkCnt Source # 
Instance details
Integral CFsBlkCnt Source # 
Instance details
Num CFsBlkCnt Source # 
Instance details
Ord CFsBlkCnt Source # 
Instance details
Read CFsBlkCnt Source # 
Instance details
Real CFsBlkCnt Source # 
Instance details
Show CFsBlkCnt Source # 
Instance details
FiniteBits CFsBlkCnt Source # 
Instance details
Bits CFsBlkCnt Source # 
Instance details
Storable CFsBlkCnt Source # 
Instance details

newtype CFsFilCnt Source #

Since: 4.10.0.0

Constructors

CFsFilCnt Word64 
Instances
Bounded CFsFilCnt Source # 
Instance details
Enum CFsFilCnt Source # 
Instance details
Eq CFsFilCnt Source # 
Instance details
Integral CFsFilCnt Source # 
Instance details
Num CFsFilCnt Source # 
Instance details
Ord CFsFilCnt Source # 
Instance details
Read CFsFilCnt Source # 
Instance details
Real CFsFilCnt Source # 
Instance details
Show CFsFilCnt Source # 
Instance details
FiniteBits CFsFilCnt Source # 
Instance details
Bits CFsFilCnt Source # 
Instance details
Storable CFsFilCnt Source # 
Instance details

newtype CId Source #

Since: 4.10.0.0

Constructors

CId Word32 
Instances
Bounded CId Source # 
Instance details
Enum CId Source # 
Instance details
Eq CId Source # 
Instance details

Methods

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

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

Integral CId Source # 
Instance details

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 # 
Instance details
Ord CId Source # 
Instance details

Methods

compare :: CId -> CId -> Ordering Source #

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

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

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

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

max :: CId -> CId -> CId Source #

min :: CId -> CId -> CId Source #

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

newtype CKey Source #

Since: 4.10.0.0

Constructors

CKey Int32 
Instances
Bounded CKey Source # 
Instance details
Enum CKey Source # 
Instance details
Eq CKey Source # 
Instance details

Methods

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

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

Integral CKey Source # 
Instance details
Num CKey Source # 
Instance details
Ord CKey Source # 
Instance details
Read CKey Source # 
Instance details
Real CKey Source # 
Instance details
Show CKey Source # 
Instance details
FiniteBits CKey Source # 
Instance details
Bits CKey Source # 
Instance details
Storable CKey Source # 
Instance details

newtype CTimer Source #

Since: 4.10.0.0

Constructors

CTimer (Ptr ()) 

newtype Fd Source #

Constructors

Fd CInt 
Instances
Bounded Fd Source # 
Instance details
Enum Fd Source # 
Instance details

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 # 
Instance details

Methods

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

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

Integral Fd Source # 
Instance details

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 # 
Instance details

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 # 
Instance details

Methods

compare :: Fd -> Fd -> Ordering Source #

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

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

(>) :: Fd -> Fd -> Bool Source #

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

max :: Fd -> Fd -> Fd Source #

min :: Fd -> Fd -> Fd Source #

Read Fd Source # 
Instance details
Real Fd Source # 
Instance details
Show Fd Source # 
Instance details
FiniteBits Fd Source # 
Instance details
Bits Fd Source # 
Instance details
Storable Fd Source # 
Instance details

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 #