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

Defined in System.Posix.Types

Enum CDev # 
Instance details

Defined in System.Posix.Types

Eq CDev # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CDev # 
Instance details

Defined in System.Posix.Types

Num CDev # 
Instance details

Defined in System.Posix.Types

Ord CDev # 
Instance details

Defined in System.Posix.Types

Read CDev # 
Instance details

Defined in System.Posix.Types

Real CDev # 
Instance details

Defined in System.Posix.Types

Show CDev # 
Instance details

Defined in System.Posix.Types

FiniteBits CDev # 
Instance details

Defined in System.Posix.Types

Bits CDev # 
Instance details

Defined in System.Posix.Types

Storable CDev # 
Instance details

Defined in System.Posix.Types

newtype CIno Source #

Constructors

CIno Word64 
Instances
Bounded CIno # 
Instance details

Defined in System.Posix.Types

Enum CIno # 
Instance details

Defined in System.Posix.Types

Eq CIno # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CIno # 
Instance details

Defined in System.Posix.Types

Num CIno # 
Instance details

Defined in System.Posix.Types

Ord CIno # 
Instance details

Defined in System.Posix.Types

Read CIno # 
Instance details

Defined in System.Posix.Types

Real CIno # 
Instance details

Defined in System.Posix.Types

Show CIno # 
Instance details

Defined in System.Posix.Types

FiniteBits CIno # 
Instance details

Defined in System.Posix.Types

Bits CIno # 
Instance details

Defined in System.Posix.Types

Storable CIno # 
Instance details

Defined in System.Posix.Types

newtype CMode Source #

Constructors

CMode Word32 
Instances
Bounded CMode # 
Instance details

Defined in System.Posix.Types

Enum CMode # 
Instance details

Defined in System.Posix.Types

Eq CMode # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CMode # 
Instance details

Defined in System.Posix.Types

Num CMode # 
Instance details

Defined in System.Posix.Types

Ord CMode # 
Instance details

Defined in System.Posix.Types

Read CMode # 
Instance details

Defined in System.Posix.Types

Real CMode # 
Instance details

Defined in System.Posix.Types

Show CMode # 
Instance details

Defined in System.Posix.Types

FiniteBits CMode # 
Instance details

Defined in System.Posix.Types

Bits CMode # 
Instance details

Defined in System.Posix.Types

Storable CMode # 
Instance details

Defined in System.Posix.Types

newtype COff Source #

Constructors

COff Int64 
Instances
Bounded COff # 
Instance details

Defined in System.Posix.Types

Enum COff # 
Instance details

Defined in System.Posix.Types

Eq COff # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral COff # 
Instance details

Defined in System.Posix.Types

Num COff # 
Instance details

Defined in System.Posix.Types

Ord COff # 
Instance details

Defined in System.Posix.Types

Read COff # 
Instance details

Defined in System.Posix.Types

Real COff # 
Instance details

Defined in System.Posix.Types

Show COff # 
Instance details

Defined in System.Posix.Types

FiniteBits COff # 
Instance details

Defined in System.Posix.Types

Bits COff # 
Instance details

Defined in System.Posix.Types

Storable COff # 
Instance details

Defined in System.Posix.Types

newtype CPid Source #

Constructors

CPid Int32 
Instances
Bounded CPid # 
Instance details

Defined in System.Posix.Types

Enum CPid # 
Instance details

Defined in System.Posix.Types

Eq CPid # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CPid # 
Instance details

Defined in System.Posix.Types

Num CPid # 
Instance details

Defined in System.Posix.Types

Ord CPid # 
Instance details

Defined in System.Posix.Types

Read CPid # 
Instance details

Defined in System.Posix.Types

Real CPid # 
Instance details

Defined in System.Posix.Types

Show CPid # 
Instance details

Defined in System.Posix.Types

FiniteBits CPid # 
Instance details

Defined in System.Posix.Types

Bits CPid # 
Instance details

Defined in System.Posix.Types

Storable CPid # 
Instance details

Defined in System.Posix.Types

newtype CSsize Source #

Constructors

CSsize Int64 
Instances
Bounded CSsize # 
Instance details

Defined in System.Posix.Types

Enum CSsize # 
Instance details

Defined in System.Posix.Types

Eq CSsize # 
Instance details

Defined in System.Posix.Types

Integral CSsize # 
Instance details

Defined in System.Posix.Types

Num CSsize # 
Instance details

Defined in System.Posix.Types

Ord CSsize # 
Instance details

Defined in System.Posix.Types

Read CSsize # 
Instance details

Defined in System.Posix.Types

Real CSsize # 
Instance details

Defined in System.Posix.Types

Show CSsize # 
Instance details

Defined in System.Posix.Types

FiniteBits CSsize # 
Instance details

Defined in System.Posix.Types

Bits CSsize # 
Instance details

Defined in System.Posix.Types

Storable CSsize # 
Instance details

Defined in System.Posix.Types

newtype CGid Source #

Constructors

CGid Word32 
Instances
Bounded CGid # 
Instance details

Defined in System.Posix.Types

Enum CGid # 
Instance details

Defined in System.Posix.Types

Eq CGid # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CGid # 
Instance details

Defined in System.Posix.Types

Num CGid # 
Instance details

Defined in System.Posix.Types

Ord CGid # 
Instance details

Defined in System.Posix.Types

Read CGid # 
Instance details

Defined in System.Posix.Types

Real CGid # 
Instance details

Defined in System.Posix.Types

Show CGid # 
Instance details

Defined in System.Posix.Types

FiniteBits CGid # 
Instance details

Defined in System.Posix.Types

Bits CGid # 
Instance details

Defined in System.Posix.Types

Storable CGid # 
Instance details

Defined in System.Posix.Types

newtype CNlink Source #

Constructors

CNlink Word64 

newtype CUid Source #

Constructors

CUid Word32 
Instances
Bounded CUid # 
Instance details

Defined in System.Posix.Types

Enum CUid # 
Instance details

Defined in System.Posix.Types

Eq CUid # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CUid # 
Instance details

Defined in System.Posix.Types

Num CUid # 
Instance details

Defined in System.Posix.Types

Ord CUid # 
Instance details

Defined in System.Posix.Types

Read CUid # 
Instance details

Defined in System.Posix.Types

Real CUid # 
Instance details

Defined in System.Posix.Types

Show CUid # 
Instance details

Defined in System.Posix.Types

FiniteBits CUid # 
Instance details

Defined in System.Posix.Types

Bits CUid # 
Instance details

Defined in System.Posix.Types

Storable CUid # 
Instance details

Defined in System.Posix.Types

newtype CCc Source #

Constructors

CCc Word8 
Instances
Enum CCc # 
Instance details

Defined in System.Posix.Types

Eq CCc # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Num CCc # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Real CCc # 
Instance details

Defined in System.Posix.Types

Show CCc # 
Instance details

Defined in System.Posix.Types

Storable CCc # 
Instance details

Defined in System.Posix.Types

newtype CSpeed Source #

Constructors

CSpeed Word32 
Instances
Enum CSpeed # 
Instance details

Defined in System.Posix.Types

Eq CSpeed # 
Instance details

Defined in System.Posix.Types

Num CSpeed # 
Instance details

Defined in System.Posix.Types

Ord CSpeed # 
Instance details

Defined in System.Posix.Types

Read CSpeed # 
Instance details

Defined in System.Posix.Types

Real CSpeed # 
Instance details

Defined in System.Posix.Types

Show CSpeed # 
Instance details

Defined in System.Posix.Types

Storable CSpeed # 
Instance details

Defined in System.Posix.Types

newtype CTcflag Source #

Constructors

CTcflag Word32 
Instances
Bounded CTcflag # 
Instance details

Defined in System.Posix.Types

Enum CTcflag # 
Instance details

Defined in System.Posix.Types

Eq CTcflag # 
Instance details

Defined in System.Posix.Types

Integral CTcflag # 
Instance details

Defined in System.Posix.Types

Num CTcflag # 
Instance details

Defined in System.Posix.Types

Ord CTcflag # 
Instance details

Defined in System.Posix.Types

Read CTcflag # 
Instance details

Defined in System.Posix.Types

Real CTcflag # 
Instance details

Defined in System.Posix.Types

Show CTcflag # 
Instance details

Defined in System.Posix.Types

FiniteBits CTcflag # 
Instance details

Defined in System.Posix.Types

Bits CTcflag # 
Instance details

Defined in System.Posix.Types

Storable CTcflag # 
Instance details

Defined in System.Posix.Types

newtype CRLim Source #

Constructors

CRLim Word64 
Instances
Bounded CRLim # 
Instance details

Defined in System.Posix.Types

Enum CRLim # 
Instance details

Defined in System.Posix.Types

Eq CRLim # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CRLim # 
Instance details

Defined in System.Posix.Types

Num CRLim # 
Instance details

Defined in System.Posix.Types

Ord CRLim # 
Instance details

Defined in System.Posix.Types

Read CRLim # 
Instance details

Defined in System.Posix.Types

Real CRLim # 
Instance details

Defined in System.Posix.Types

Show CRLim # 
Instance details

Defined in System.Posix.Types

FiniteBits CRLim # 
Instance details

Defined in System.Posix.Types

Bits CRLim # 
Instance details

Defined in System.Posix.Types

Storable CRLim # 
Instance details

Defined in System.Posix.Types

newtype CBlkSize Source #

Since: base-4.10.0.0

Constructors

CBlkSize Int64 
Instances
Bounded CBlkSize # 
Instance details

Defined in System.Posix.Types

Enum CBlkSize # 
Instance details

Defined in System.Posix.Types

Eq CBlkSize # 
Instance details

Defined in System.Posix.Types

Integral CBlkSize # 
Instance details

Defined in System.Posix.Types

Num CBlkSize # 
Instance details

Defined in System.Posix.Types

Ord CBlkSize # 
Instance details

Defined in System.Posix.Types

Read CBlkSize # 
Instance details

Defined in System.Posix.Types

Real CBlkSize # 
Instance details

Defined in System.Posix.Types

Show CBlkSize # 
Instance details

Defined in System.Posix.Types

FiniteBits CBlkSize # 
Instance details

Defined in System.Posix.Types

Bits CBlkSize # 
Instance details

Defined in System.Posix.Types

Storable CBlkSize # 
Instance details

Defined in System.Posix.Types

newtype CBlkCnt Source #

Since: base-4.10.0.0

Constructors

CBlkCnt Int64 
Instances
Bounded CBlkCnt # 
Instance details

Defined in System.Posix.Types

Enum CBlkCnt # 
Instance details

Defined in System.Posix.Types

Eq CBlkCnt # 
Instance details

Defined in System.Posix.Types

Integral CBlkCnt # 
Instance details

Defined in System.Posix.Types

Num CBlkCnt # 
Instance details

Defined in System.Posix.Types

Ord CBlkCnt # 
Instance details

Defined in System.Posix.Types

Read CBlkCnt # 
Instance details

Defined in System.Posix.Types

Real CBlkCnt # 
Instance details

Defined in System.Posix.Types

Show CBlkCnt # 
Instance details

Defined in System.Posix.Types

FiniteBits CBlkCnt # 
Instance details

Defined in System.Posix.Types

Bits CBlkCnt # 
Instance details

Defined in System.Posix.Types

Storable CBlkCnt # 
Instance details

Defined in System.Posix.Types

newtype CClockId Source #

Since: base-4.10.0.0

Constructors

CClockId Int32 
Instances
Bounded CClockId # 
Instance details

Defined in System.Posix.Types

Enum CClockId # 
Instance details

Defined in System.Posix.Types

Eq CClockId # 
Instance details

Defined in System.Posix.Types

Integral CClockId # 
Instance details

Defined in System.Posix.Types

Num CClockId # 
Instance details

Defined in System.Posix.Types

Ord CClockId # 
Instance details

Defined in System.Posix.Types

Read CClockId # 
Instance details

Defined in System.Posix.Types

Real CClockId # 
Instance details

Defined in System.Posix.Types

Show CClockId # 
Instance details

Defined in System.Posix.Types

FiniteBits CClockId # 
Instance details

Defined in System.Posix.Types

Bits CClockId # 
Instance details

Defined in System.Posix.Types

Storable CClockId # 
Instance details

Defined in System.Posix.Types

newtype CFsBlkCnt Source #

Since: base-4.10.0.0

Constructors

CFsBlkCnt Word64 
Instances
Bounded CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Enum CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Eq CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Integral CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Num CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Ord CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Read CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Real CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Show CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

FiniteBits CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Bits CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

Storable CFsBlkCnt # 
Instance details

Defined in System.Posix.Types

newtype CFsFilCnt Source #

Since: base-4.10.0.0

Constructors

CFsFilCnt Word64 
Instances
Bounded CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Enum CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Eq CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Integral CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Num CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Ord CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Read CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Real CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Show CFsFilCnt # 
Instance details

Defined in System.Posix.Types

FiniteBits CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Bits CFsFilCnt # 
Instance details

Defined in System.Posix.Types

Storable CFsFilCnt # 
Instance details

Defined in System.Posix.Types

newtype CId Source #

Since: base-4.10.0.0

Constructors

CId Word32 
Instances
Bounded CId # 
Instance details

Defined in System.Posix.Types

Enum CId # 
Instance details

Defined in System.Posix.Types

Eq CId # 
Instance details

Defined in System.Posix.Types

Methods

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

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

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

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Real CId # 
Instance details

Defined in System.Posix.Types

Show CId # 
Instance details

Defined in System.Posix.Types

FiniteBits CId # 
Instance details

Defined in System.Posix.Types

Bits CId # 
Instance details

Defined in System.Posix.Types

Storable CId # 
Instance details

Defined in System.Posix.Types

newtype CKey Source #

Since: base-4.10.0.0

Constructors

CKey Int32 
Instances
Bounded CKey # 
Instance details

Defined in System.Posix.Types

Enum CKey # 
Instance details

Defined in System.Posix.Types

Eq CKey # 
Instance details

Defined in System.Posix.Types

Methods

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

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

Integral CKey # 
Instance details

Defined in System.Posix.Types

Num CKey # 
Instance details

Defined in System.Posix.Types

Ord CKey # 
Instance details

Defined in System.Posix.Types

Read CKey # 
Instance details

Defined in System.Posix.Types

Real CKey # 
Instance details

Defined in System.Posix.Types

Show CKey # 
Instance details

Defined in System.Posix.Types

FiniteBits CKey # 
Instance details

Defined in System.Posix.Types

Bits CKey # 
Instance details

Defined in System.Posix.Types

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

Defined in System.Posix.Types

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

Defined in System.Posix.Types

Methods

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

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

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

Defined in System.Posix.Types

Real Fd # 
Instance details

Defined in System.Posix.Types

Show Fd # 
Instance details

Defined in System.Posix.Types

FiniteBits Fd # 
Instance details

Defined in System.Posix.Types

Bits Fd # 
Instance details

Defined in System.Posix.Types

Storable Fd # 
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 #