System.Posix.Types

base-4.7.0.0: Basic libraries

Copyright | (c) The University of Glasgow 2002
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | libraries@haskell.org
Stability | provisional
Portability | non-portable (requires POSIX)
Safe Haskell | Trustworthy
Language | Haskell2010

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

- newtype CDev = CDev Word64
- newtype CIno = CIno Word64
- newtype CMode = CMode Word32
- newtype COff = COff Int64
- newtype CPid = CPid Int32
- newtype CSsize = CSsize Int64
- newtype CGid = CGid Word32
- newtype CNlink = CNlink Word64
- newtype CUid = CUid Word32
- newtype CCc = CCc Word8
- newtype CSpeed = CSpeed Word32
- newtype CTcflag = CTcflag Word32
- newtype CRLim = CRLim Word64
- 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

newtype CDev Source

Constructors

CDev Word64 |

Instances

Bounded CDev |
Enum CDev |
Eq CDev |
Integral CDev |
Num CDev |
Ord CDev |
Read CDev |
Real CDev |
Show CDev |
FiniteBits CDev |
Bits CDev |
Storable CDev |
Typeable * CDev |

newtype CIno Source

Constructors

CIno Word64 |

Instances

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

newtype CMode Source

Constructors

CMode Word32 |

Instances

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

newtype COff Source

Constructors

COff Int64 |

Instances

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

newtype CPid Source

Constructors

CPid Int32 |

Instances

Bounded CPid |
Enum CPid |
Eq CPid |
Integral CPid |
Num CPid |
Ord CPid |
Read CPid |
Real CPid |
Show CPid |
FiniteBits CPid |
Bits CPid |
Storable CPid |
Typeable * 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 |
Typeable * CSsize |

newtype CGid Source

Constructors

CGid Word32 |

Instances

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

newtype CNlink Source

Constructors

CNlink Word64 |

Instances

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

newtype CUid Source

Constructors

CUid Word32 |

Instances

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

newtype CCc Source

Constructors

CCc Word8 |

Instances

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

newtype CSpeed Source

Constructors

CSpeed Word32 |

Instances

Enum CSpeed |
Eq CSpeed |
Num CSpeed |
Ord CSpeed |
Read CSpeed |
Real CSpeed |
Show CSpeed |
Storable CSpeed |
Typeable * 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 |
Typeable * CTcflag |

newtype CRLim Source

Constructors

CRLim Word64 |

Instances

Bounded CRLim |
Enum CRLim |
Eq CRLim |
Integral CRLim |
Num CRLim |
Ord CRLim |
Read CRLim |
Real CRLim |
Show CRLim |
FiniteBits CRLim |
Bits CRLim |
Storable CRLim |
Typeable * 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 |
FiniteBits Fd |
Bits Fd |
Storable Fd |
Typeable * 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