base-4.11.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 # 
Instance details

Defined in System.Posix.Types

Enum CDev Source # 
Instance details

Defined in System.Posix.Types

Eq CDev Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CDev Source # 
Instance details

Defined in System.Posix.Types

Num CDev Source # 
Instance details

Defined in System.Posix.Types

Ord CDev Source # 
Instance details

Defined in System.Posix.Types

Read CDev Source # 
Instance details

Defined in System.Posix.Types

Real CDev Source # 
Instance details

Defined in System.Posix.Types

Show CDev Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CDev Source # 
Instance details

Defined in System.Posix.Types

Bits CDev Source # 
Instance details

Defined in System.Posix.Types

Storable CDev Source # 
Instance details

Defined in System.Posix.Types

newtype CIno Source #

Constructors

CIno Word64 
Instances
Bounded CIno Source # 
Instance details

Defined in System.Posix.Types

Enum CIno Source # 
Instance details

Defined in System.Posix.Types

Eq CIno Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CIno Source # 
Instance details

Defined in System.Posix.Types

Num CIno Source # 
Instance details

Defined in System.Posix.Types

Ord CIno Source # 
Instance details

Defined in System.Posix.Types

Read CIno Source # 
Instance details

Defined in System.Posix.Types

Real CIno Source # 
Instance details

Defined in System.Posix.Types

Show CIno Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CIno Source # 
Instance details

Defined in System.Posix.Types

Bits CIno Source # 
Instance details

Defined in System.Posix.Types

Storable CIno Source # 
Instance details

Defined in System.Posix.Types

newtype CMode Source #

Constructors

CMode Word32 
Instances
Bounded CMode Source # 
Instance details

Defined in System.Posix.Types

Enum CMode Source # 
Instance details

Defined in System.Posix.Types

Eq CMode Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CMode Source # 
Instance details

Defined in System.Posix.Types

Num CMode Source # 
Instance details

Defined in System.Posix.Types

Ord CMode Source # 
Instance details

Defined in System.Posix.Types

Read CMode Source # 
Instance details

Defined in System.Posix.Types

Real CMode Source # 
Instance details

Defined in System.Posix.Types

Show CMode Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CMode Source # 
Instance details

Defined in System.Posix.Types

Bits CMode Source # 
Instance details

Defined in System.Posix.Types

Storable CMode Source # 
Instance details

Defined in System.Posix.Types

newtype COff Source #

Constructors

COff Int64 
Instances
Bounded COff Source # 
Instance details

Defined in System.Posix.Types

Enum COff Source # 
Instance details

Defined in System.Posix.Types

Eq COff Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral COff Source # 
Instance details

Defined in System.Posix.Types

Num COff Source # 
Instance details

Defined in System.Posix.Types

Ord COff Source # 
Instance details

Defined in System.Posix.Types

Read COff Source # 
Instance details

Defined in System.Posix.Types

Real COff Source # 
Instance details

Defined in System.Posix.Types

Show COff Source # 
Instance details

Defined in System.Posix.Types

FiniteBits COff Source # 
Instance details

Defined in System.Posix.Types

Bits COff Source # 
Instance details

Defined in System.Posix.Types

Storable COff Source # 
Instance details

Defined in System.Posix.Types

newtype CPid Source #

Constructors

CPid Int32 
Instances
Bounded CPid Source # 
Instance details

Defined in System.Posix.Types

Enum CPid Source # 
Instance details

Defined in System.Posix.Types

Eq CPid Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CPid Source # 
Instance details

Defined in System.Posix.Types

Num CPid Source # 
Instance details

Defined in System.Posix.Types

Ord CPid Source # 
Instance details

Defined in System.Posix.Types

Read CPid Source # 
Instance details

Defined in System.Posix.Types

Real CPid Source # 
Instance details

Defined in System.Posix.Types

Show CPid Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CPid Source # 
Instance details

Defined in System.Posix.Types

Bits CPid Source # 
Instance details

Defined in System.Posix.Types

Storable CPid Source # 
Instance details

Defined in System.Posix.Types

newtype CSsize Source #

Constructors

CSsize Int64 
Instances
Bounded CSsize Source # 
Instance details

Defined in System.Posix.Types

Enum CSsize Source # 
Instance details

Defined in System.Posix.Types

Eq CSsize Source # 
Instance details

Defined in System.Posix.Types

Integral CSsize Source # 
Instance details

Defined in System.Posix.Types

Num CSsize Source # 
Instance details

Defined in System.Posix.Types

Ord CSsize Source # 
Instance details

Defined in System.Posix.Types

Read CSsize Source # 
Instance details

Defined in System.Posix.Types

Real CSsize Source # 
Instance details

Defined in System.Posix.Types

Show CSsize Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CSsize Source # 
Instance details

Defined in System.Posix.Types

Bits CSsize Source # 
Instance details

Defined in System.Posix.Types

Storable CSsize Source # 
Instance details

Defined in System.Posix.Types

newtype CGid Source #

Constructors

CGid Word32 
Instances
Bounded CGid Source # 
Instance details

Defined in System.Posix.Types

Enum CGid Source # 
Instance details

Defined in System.Posix.Types

Eq CGid Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CGid Source # 
Instance details

Defined in System.Posix.Types

Num CGid Source # 
Instance details

Defined in System.Posix.Types

Ord CGid Source # 
Instance details

Defined in System.Posix.Types

Read CGid Source # 
Instance details

Defined in System.Posix.Types

Real CGid Source # 
Instance details

Defined in System.Posix.Types

Show CGid Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CGid Source # 
Instance details

Defined in System.Posix.Types

Bits CGid Source # 
Instance details

Defined in System.Posix.Types

Storable CGid Source # 
Instance details

Defined in System.Posix.Types

newtype CNlink Source #

Constructors

CNlink Word64 

newtype CUid Source #

Constructors

CUid Word32 
Instances
Bounded CUid Source # 
Instance details

Defined in System.Posix.Types

Enum CUid Source # 
Instance details

Defined in System.Posix.Types

Eq CUid Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CUid Source # 
Instance details

Defined in System.Posix.Types

Num CUid Source # 
Instance details

Defined in System.Posix.Types

Ord CUid Source # 
Instance details

Defined in System.Posix.Types

Read CUid Source # 
Instance details

Defined in System.Posix.Types

Real CUid Source # 
Instance details

Defined in System.Posix.Types

Show CUid Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CUid Source # 
Instance details

Defined in System.Posix.Types

Bits CUid Source # 
Instance details

Defined in System.Posix.Types

Storable CUid Source # 
Instance details

Defined in System.Posix.Types

newtype CCc Source #

Constructors

CCc Word8 
Instances
Enum CCc Source # 
Instance details

Defined in System.Posix.Types

Eq CCc Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Num CCc Source # 
Instance details

Defined in System.Posix.Types

Ord CCc Source # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Real CCc Source # 
Instance details

Defined in System.Posix.Types

Show CCc Source # 
Instance details

Defined in System.Posix.Types

Storable CCc Source # 
Instance details

Defined in System.Posix.Types

newtype CSpeed Source #

Constructors

CSpeed Word32 
Instances
Enum CSpeed Source # 
Instance details

Defined in System.Posix.Types

Eq CSpeed Source # 
Instance details

Defined in System.Posix.Types

Num CSpeed Source # 
Instance details

Defined in System.Posix.Types

Ord CSpeed Source # 
Instance details

Defined in System.Posix.Types

Read CSpeed Source # 
Instance details

Defined in System.Posix.Types

Real CSpeed Source # 
Instance details

Defined in System.Posix.Types

Show CSpeed Source # 
Instance details

Defined in System.Posix.Types

Storable CSpeed Source # 
Instance details

Defined in System.Posix.Types

newtype CTcflag Source #

Constructors

CTcflag Word32 
Instances
Bounded CTcflag Source # 
Instance details

Defined in System.Posix.Types

Enum CTcflag Source # 
Instance details

Defined in System.Posix.Types

Eq CTcflag Source # 
Instance details

Defined in System.Posix.Types

Integral CTcflag Source # 
Instance details

Defined in System.Posix.Types

Num CTcflag Source # 
Instance details

Defined in System.Posix.Types

Ord CTcflag Source # 
Instance details

Defined in System.Posix.Types

Read CTcflag Source # 
Instance details

Defined in System.Posix.Types

Real CTcflag Source # 
Instance details

Defined in System.Posix.Types

Show CTcflag Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CTcflag Source # 
Instance details

Defined in System.Posix.Types

Bits CTcflag Source # 
Instance details

Defined in System.Posix.Types

Storable CTcflag Source # 
Instance details

Defined in System.Posix.Types

newtype CRLim Source #

Constructors

CRLim Word64 
Instances
Bounded CRLim Source # 
Instance details

Defined in System.Posix.Types

Enum CRLim Source # 
Instance details

Defined in System.Posix.Types

Eq CRLim Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CRLim Source # 
Instance details

Defined in System.Posix.Types

Num CRLim Source # 
Instance details

Defined in System.Posix.Types

Ord CRLim Source # 
Instance details

Defined in System.Posix.Types

Read CRLim Source # 
Instance details

Defined in System.Posix.Types

Real CRLim Source # 
Instance details

Defined in System.Posix.Types

Show CRLim Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CRLim Source # 
Instance details

Defined in System.Posix.Types

Bits CRLim Source # 
Instance details

Defined in System.Posix.Types

Storable CRLim Source # 
Instance details

Defined in System.Posix.Types

newtype CBlkSize Source #

Since: base-4.10.0.0

Constructors

CBlkSize Int64 
Instances
Bounded CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Enum CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Eq CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Integral CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Num CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Ord CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Read CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Real CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Show CBlkSize Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Bits CBlkSize Source # 
Instance details

Defined in System.Posix.Types

Storable CBlkSize Source # 
Instance details

Defined in System.Posix.Types

newtype CBlkCnt Source #

Since: base-4.10.0.0

Constructors

CBlkCnt Int64 
Instances
Bounded CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Enum CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Eq CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Integral CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Num CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Ord CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Read CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Real CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Show CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Bits CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Storable CBlkCnt Source # 
Instance details

Defined in System.Posix.Types

newtype CClockId Source #

Since: base-4.10.0.0

Constructors

CClockId Int32 
Instances
Bounded CClockId Source # 
Instance details

Defined in System.Posix.Types

Enum CClockId Source # 
Instance details

Defined in System.Posix.Types

Eq CClockId Source # 
Instance details

Defined in System.Posix.Types

Integral CClockId Source # 
Instance details

Defined in System.Posix.Types

Num CClockId Source # 
Instance details

Defined in System.Posix.Types

Ord CClockId Source # 
Instance details

Defined in System.Posix.Types

Read CClockId Source # 
Instance details

Defined in System.Posix.Types

Real CClockId Source # 
Instance details

Defined in System.Posix.Types

Show CClockId Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CClockId Source # 
Instance details

Defined in System.Posix.Types

Bits CClockId Source # 
Instance details

Defined in System.Posix.Types

Storable CClockId Source # 
Instance details

Defined in System.Posix.Types

newtype CFsBlkCnt Source #

Since: base-4.10.0.0

Constructors

CFsBlkCnt Word64 
Instances
Bounded CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Enum CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Eq CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Integral CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Num CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Ord CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Read CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Real CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Show CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Bits CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

Storable CFsBlkCnt Source # 
Instance details

Defined in System.Posix.Types

newtype CFsFilCnt Source #

Since: base-4.10.0.0

Constructors

CFsFilCnt Word64 
Instances
Bounded CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Enum CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Eq CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Integral CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Num CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Ord CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Read CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Real CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Show CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Bits CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

Storable CFsFilCnt Source # 
Instance details

Defined in System.Posix.Types

newtype CId Source #

Since: base-4.10.0.0

Constructors

CId Word32 
Instances
Bounded CId Source # 
Instance details

Defined in System.Posix.Types

Enum CId Source # 
Instance details

Defined in System.Posix.Types

Eq CId Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CId Source # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Ord CId Source # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Real CId Source # 
Instance details

Defined in System.Posix.Types

Show CId Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CId Source # 
Instance details

Defined in System.Posix.Types

Bits CId Source # 
Instance details

Defined in System.Posix.Types

Storable CId Source # 
Instance details

Defined in System.Posix.Types

newtype CKey Source #

Since: base-4.10.0.0

Constructors

CKey Int32 
Instances
Bounded CKey Source # 
Instance details

Defined in System.Posix.Types

Enum CKey Source # 
Instance details

Defined in System.Posix.Types

Eq CKey Source # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CKey Source # 
Instance details

Defined in System.Posix.Types

Num CKey Source # 
Instance details

Defined in System.Posix.Types

Ord CKey Source # 
Instance details

Defined in System.Posix.Types

Read CKey Source # 
Instance details

Defined in System.Posix.Types

Real CKey Source # 
Instance details

Defined in System.Posix.Types

Show CKey Source # 
Instance details

Defined in System.Posix.Types

FiniteBits CKey Source # 
Instance details

Defined in System.Posix.Types

Bits CKey Source # 
Instance details

Defined in System.Posix.Types

Storable CKey Source # 
Instance details

Defined in System.Posix.Types

newtype CTimer Source #

Since: base-4.10.0.0

Constructors

CTimer (Ptr ()) 

newtype Fd Source #

Constructors

Fd CInt 
Instances
Bounded Fd Source # 
Instance details

Defined in System.Posix.Types

Enum Fd Source # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Methods

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

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

Integral Fd Source # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

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

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Real Fd Source # 
Instance details

Defined in System.Posix.Types

Show Fd Source # 
Instance details

Defined in System.Posix.Types

FiniteBits Fd Source # 
Instance details

Defined in System.Posix.Types

Bits Fd Source # 
Instance details

Defined in System.Posix.Types

Storable Fd Source # 
Instance details

Defined in System.Posix.Types

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 #