base-4.3.1.0: Basic libraries

Portability | non-portable (requires POSIX)
Stability | provisional
Maintainer | libraries@haskell.org

System.Posix.Types

Contents

- POSIX data types

Description

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

Synopsis

- data CDev
- data CIno
- data CMode
- data COff
- data CPid
- data CSsize
- data CGid
- data CNlink
- data CUid
- data CCc
- data CSpeed
- data CTcflag
- data CRLim
- newtype Fd = Fd CInt
- type LinkCount = CNlink
- type UserID = CUid
- type GroupID = CGid
- type ByteCount = CSize
- type ClockTick = CClock
- type EpochTime = CTime
- type FileOffset = COff
- type ProcessID = CPid
- type ProcessGroupID = CPid
- type DeviceID = CDev
- type FileID = CIno
- type FileMode = CMode
- type Limit = CLong

# POSIX data types

data CDev Source

Instances

Enum CDev |
Eq CDev |
Num CDev |
Ord CDev |
Read CDev |
Real CDev |
Show CDev |
Typeable CDev |
Storable CDev |

data CIno Source

Instances

Bounded CIno |
Enum CIno |
Eq CIno |
Integral CIno |
Num CIno |
Ord CIno |
Read CIno |
Real CIno |
Show CIno |
Typeable CIno |
Bits CIno |
Storable CIno |

data CMode Source

Instances

Bounded CMode |
Enum CMode |
Eq CMode |
Integral CMode |
Num CMode |
Ord CMode |
Read CMode |
Real CMode |
Show CMode |
Typeable CMode |
Bits CMode |
Storable CMode |

data COff Source

Instances

Bounded COff |
Enum COff |
Eq COff |
Integral COff |
Num COff |
Ord COff |
Read COff |
Real COff |
Show COff |
Typeable COff |
Bits COff |
Storable COff |

data CPid Source

Instances

Bounded CPid |
Enum CPid |
Eq CPid |
Integral CPid |
Num CPid |
Ord CPid |
Read CPid |
Real CPid |
Show CPid |
Typeable CPid |
Bits CPid |
Storable CPid |

data CSsize Source

Instances

Bounded CSsize |
Enum CSsize |
Eq CSsize |
Integral CSsize |
Num CSsize |
Ord CSsize |
Read CSsize |
Real CSsize |
Show CSsize |
Typeable CSsize |
Bits CSsize |
Storable CSsize |

data CGid Source

Instances

Bounded CGid |
Enum CGid |
Eq CGid |
Integral CGid |
Num CGid |
Ord CGid |
Read CGid |
Real CGid |
Show CGid |
Typeable CGid |
Bits CGid |
Storable CGid |

data CNlink Source

Instances

Bounded CNlink |
Enum CNlink |
Eq CNlink |
Integral CNlink |
Num CNlink |
Ord CNlink |
Read CNlink |
Real CNlink |
Show CNlink |
Typeable CNlink |
Bits CNlink |
Storable CNlink |

data CUid Source

Instances

Bounded CUid |
Enum CUid |
Eq CUid |
Integral CUid |
Num CUid |
Ord CUid |
Read CUid |
Real CUid |
Show CUid |
Typeable CUid |
Bits CUid |
Storable CUid |

data CCc Source

Instances

Enum CCc |
Eq CCc |
Num CCc |
Ord CCc |
Read CCc |
Real CCc |
Show CCc |
Typeable CCc |
Storable CCc |

data CSpeed Source

Instances

Enum CSpeed |
Eq CSpeed |
Num CSpeed |
Ord CSpeed |
Read CSpeed |
Real CSpeed |
Show CSpeed |
Typeable CSpeed |
Storable CSpeed |

data CTcflag Source

Instances

Bounded CTcflag |
Enum CTcflag |
Eq CTcflag |
Integral CTcflag |
Num CTcflag |
Ord CTcflag |
Read CTcflag |
Real CTcflag |
Show CTcflag |
Typeable CTcflag |
Bits CTcflag |
Storable CTcflag |

data CRLim Source

Instances

Bounded CRLim |
Enum CRLim |
Eq CRLim |
Integral CRLim |
Num CRLim |
Ord CRLim |
Read CRLim |
Real CRLim |
Show CRLim |
Typeable CRLim |
Bits CRLim |
Storable CRLim |

newtype Fd Source

Constructors

Fd CInt |

Instances

Bounded Fd |
Enum Fd |
Eq Fd |
Integral Fd |
Num Fd |
Ord Fd |
Read Fd |
Real Fd |
Show Fd |
Typeable Fd |
Bits Fd |
Storable Fd |

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