W3cubDocs

/Haskell 8

System.Posix.Types

Copyright (c) The University of Glasgow 2002
License BSD-style (see the file libraries/base/LICENSE)
Maintainer [email protected]
Stability provisional
Portability non-portable (requires POSIX)
Safe Haskell Trustworthy
Language Haskell2010

Description

POSIX data types: Haskell equivalents of the types defined by the <sys/types.h> C header on a POSIX system.

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

Methods

compare :: CDev -> CDev -> Ordering Source

(<) :: CDev -> CDev -> Bool Source

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

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

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

max :: CDev -> CDev -> CDev Source

min :: CDev -> CDev -> CDev Source

Read CDev
Real CDev

Methods

toRational :: CDev -> Rational Source

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

Methods

compare :: CIno -> CIno -> Ordering Source

(<) :: CIno -> CIno -> Bool Source

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

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

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

max :: CIno -> CIno -> CIno Source

min :: CIno -> CIno -> CIno Source

Read CIno
Real CIno

Methods

toRational :: CIno -> Rational Source

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

Methods

compare :: COff -> COff -> Ordering Source

(<) :: COff -> COff -> Bool Source

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

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

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

max :: COff -> COff -> COff Source

min :: COff -> COff -> COff Source

Read COff
Real COff

Methods

toRational :: COff -> Rational Source

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

Methods

compare :: CPid -> CPid -> Ordering Source

(<) :: CPid -> CPid -> Bool Source

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

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

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

max :: CPid -> CPid -> CPid Source

min :: CPid -> CPid -> CPid Source

Read CPid
Real CPid

Methods

toRational :: CPid -> Rational Source

Show CPid
FiniteBits CPid
Bits CPid
Storable CPid

newtype CSsize Source

Constructors

CSsize Int64

Instances

Bounded CSsize
Enum CSsize
Eq CSsize

Methods

(==) :: CSsize -> CSsize -> Bool Source

(/=) :: CSsize -> CSsize -> Bool Source

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

Methods

compare :: CGid -> CGid -> Ordering Source

(<) :: CGid -> CGid -> Bool Source

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

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

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

max :: CGid -> CGid -> CGid Source

min :: CGid -> CGid -> CGid Source

Read CGid
Real CGid

Methods

toRational :: CGid -> Rational Source

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

Methods

compare :: CUid -> CUid -> Ordering Source

(<) :: CUid -> CUid -> Bool Source

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

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

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

max :: CUid -> CUid -> CUid Source

min :: CUid -> CUid -> CUid Source

Read CUid
Real CUid

Methods

toRational :: CUid -> Rational Source

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

Methods

(+) :: CCc -> CCc -> CCc Source

(-) :: CCc -> CCc -> CCc Source

(*) :: CCc -> CCc -> CCc Source

negate :: CCc -> CCc Source

abs :: CCc -> CCc Source

signum :: CCc -> CCc Source

fromInteger :: Integer -> CCc Source

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

Methods

toRational :: CCc -> Rational Source

Show CCc

Methods

showsPrec :: Int -> CCc -> ShowS Source

show :: CCc -> String Source

showList :: [CCc] -> ShowS Source

Storable CCc

Methods

sizeOf :: CCc -> Int Source

alignment :: CCc -> Int Source

peekElemOff :: Ptr CCc -> Int -> IO CCc Source

pokeElemOff :: Ptr CCc -> Int -> CCc -> IO () Source

peekByteOff :: Ptr b -> Int -> IO CCc Source

pokeByteOff :: Ptr b -> Int -> CCc -> IO () Source

peek :: Ptr CCc -> IO CCc Source

poke :: Ptr CCc -> CCc -> IO () Source

newtype CSpeed Source

Constructors

CSpeed Word32

Instances

Enum CSpeed
Eq CSpeed

Methods

(==) :: CSpeed -> CSpeed -> Bool Source

(/=) :: CSpeed -> CSpeed -> Bool Source

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

Methods

(+) :: CId -> CId -> CId Source

(-) :: CId -> CId -> CId Source

(*) :: CId -> CId -> CId Source

negate :: CId -> CId Source

abs :: CId -> CId Source

signum :: CId -> CId Source

fromInteger :: Integer -> CId Source

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

Methods

toRational :: CId -> Rational Source

Show CId

Methods

showsPrec :: Int -> CId -> ShowS Source

show :: CId -> String Source

showList :: [CId] -> ShowS Source

FiniteBits CId
Bits CId
Storable CId

Methods

sizeOf :: CId -> Int Source

alignment :: CId -> Int Source

peekElemOff :: Ptr CId -> Int -> IO CId Source

pokeElemOff :: Ptr CId -> Int -> CId -> IO () Source

peekByteOff :: Ptr b -> Int -> IO CId Source

pokeByteOff :: Ptr b -> Int -> CId -> IO () Source

peek :: Ptr CId -> IO CId Source

poke :: Ptr CId -> CId -> IO () Source

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

Methods

compare :: CKey -> CKey -> Ordering Source

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

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

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

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

max :: CKey -> CKey -> CKey Source

min :: CKey -> CKey -> CKey Source

Read CKey
Real CKey

Methods

toRational :: CKey -> Rational Source

Show CKey
FiniteBits CKey
Bits CKey
Storable CKey

newtype CTimer Source

Since: 4.10.0.0

Constructors

CTimer (Ptr ())

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

Methods

toRational :: Fd -> Rational Source

Show Fd

Methods

showsPrec :: Int -> Fd -> ShowS Source

show :: Fd -> String Source

showList :: [Fd] -> ShowS Source

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

type LinkCount = CNlink Source

type UserID = CUid Source

type GroupID = CGid Source

type ByteCount = CSize Source

type ClockTick = CClock Source

type EpochTime = CTime Source

type FileOffset = COff Source

type ProcessID = CPid Source

type ProcessGroupID = CPid Source

type DeviceID = CDev Source

type FileID = CIno Source

type FileMode = CMode Source

type Limit = CLong Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.2.1/docs/html/libraries/base-4.10.0.0/System-Posix-Types.html