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 # 
Enum CDev # 
Eq CDev # 

Methods

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

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

Integral CDev # 
Num CDev # 
Ord CDev # 
Read CDev # 
Real CDev # 
Show CDev # 
FiniteBits CDev # 
Bits CDev # 
Storable CDev # 

newtype CIno Source #

Constructors

CIno Word64 

Instances

Bounded CIno # 
Enum CIno # 
Eq CIno # 

Methods

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

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

Integral CIno # 
Num CIno # 
Ord CIno # 
Read CIno # 
Real CIno # 
Show CIno # 
FiniteBits CIno # 
Bits CIno # 
Storable CIno # 

newtype CMode Source #

Constructors

CMode Word32 

Instances

Bounded CMode # 
Enum CMode # 
Eq CMode # 

Methods

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

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

Integral CMode # 
Num CMode # 
Ord CMode # 
Read CMode # 
Real CMode # 
Show CMode # 
FiniteBits CMode # 
Bits CMode # 
Storable CMode # 

newtype COff Source #

Constructors

COff Int64 

Instances

Bounded COff # 
Enum COff # 
Eq COff # 

Methods

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

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

Integral COff # 
Num COff # 
Ord COff # 
Read COff # 
Real COff # 
Show COff # 
FiniteBits COff # 
Bits COff # 
Storable COff # 

newtype CPid Source #

Constructors

CPid Int32 

Instances

Bounded CPid # 
Enum CPid # 
Eq CPid # 

Methods

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

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

Integral CPid # 
Num CPid # 
Ord CPid # 
Read CPid # 
Real CPid # 
Show CPid # 
FiniteBits CPid # 
Bits CPid # 
Storable CPid # 

newtype CSsize Source #

Constructors

CSsize Int64 

Instances

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

newtype CGid Source #

Constructors

CGid Word32 

Instances

Bounded CGid # 
Enum CGid # 
Eq CGid # 

Methods

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

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

Integral CGid # 
Num CGid # 
Ord CGid # 
Read CGid # 
Real CGid # 
Show CGid # 
FiniteBits CGid # 
Bits CGid # 
Storable CGid # 

newtype CNlink Source #

Constructors

CNlink Word64 

newtype CUid Source #

Constructors

CUid Word32 

Instances

Bounded CUid # 
Enum CUid # 
Eq CUid # 

Methods

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

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

Integral CUid # 
Num CUid # 
Ord CUid # 
Read CUid # 
Real CUid # 
Show CUid # 
FiniteBits CUid # 
Bits CUid # 
Storable CUid # 

newtype CCc Source #

Constructors

CCc Word8 

Instances

Enum CCc # 
Eq CCc # 

Methods

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

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

Num CCc # 
Ord CCc # 

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 # 
Real CCc # 
Show CCc # 
Storable CCc # 

newtype CSpeed Source #

Constructors

CSpeed Word32 

Instances

Enum CSpeed # 
Eq CSpeed # 
Num CSpeed # 
Ord CSpeed # 
Read CSpeed # 
Real CSpeed # 
Show CSpeed # 
Storable CSpeed # 

newtype CTcflag Source #

Constructors

CTcflag Word32 

Instances

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

newtype CRLim Source #

Constructors

CRLim Word64 

Instances

Bounded CRLim # 
Enum CRLim # 
Eq CRLim # 

Methods

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

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

Integral CRLim # 
Num CRLim # 
Ord CRLim # 
Read CRLim # 
Real CRLim # 
Show CRLim # 
FiniteBits CRLim # 
Bits CRLim # 
Storable CRLim # 

newtype CBlkSize Source #

Since: 4.10.0.0

Constructors

CBlkSize Int64 

Instances

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

newtype CBlkCnt Source #

Since: 4.10.0.0

Constructors

CBlkCnt Int64 

Instances

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

newtype CClockId Source #

Since: 4.10.0.0

Constructors

CClockId Int32 

Instances

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

newtype CFsBlkCnt Source #

Since: 4.10.0.0

Constructors

CFsBlkCnt Word64 

Instances

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

newtype CFsFilCnt Source #

Since: 4.10.0.0

Constructors

CFsFilCnt Word64 

Instances

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

newtype CId Source #

Since: 4.10.0.0

Constructors

CId Word32 

Instances

Bounded CId # 
Enum CId # 
Eq CId # 

Methods

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

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

Integral CId # 

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

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 # 
Real CId # 
Show CId # 
FiniteBits CId # 
Bits CId # 
Storable CId # 

newtype CKey Source #

Since: 4.10.0.0

Constructors

CKey Int32 

Instances

Bounded CKey # 
Enum CKey # 
Eq CKey # 

Methods

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

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

Integral CKey # 
Num CKey # 
Ord CKey # 
Read CKey # 
Real CKey # 
Show CKey # 
FiniteBits CKey # 
Bits CKey # 
Storable CKey # 

newtype Fd Source #

Constructors

Fd CInt 

Instances

Bounded Fd # 
Enum Fd # 

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 # 

Methods

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

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

Integral Fd # 

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 # 

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 # 

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 # 
Real Fd # 
Show Fd # 
FiniteBits Fd # 
Bits Fd # 
Storable Fd # 

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 #