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 |
POSIX data types: Haskell equivalents of the types defined by the
<sys/types.h>
C header on a POSIX system.
Synopsis
- newtype CDev = CDev Int32
- newtype CIno = CIno Word64
- newtype CMode = CMode Word16
- newtype COff = COff Int64
- newtype CPid = CPid Int32
- newtype CSsize = CSsize Int64
- newtype CGid = CGid Word32
- newtype CNlink = CNlink Word16
- newtype CUid = CUid Word32
- newtype CCc = CCc Word8
- newtype CSpeed = CSpeed Word64
- newtype CTcflag = CTcflag Word64
- newtype CRLim = CRLim Word64
- newtype CBlkSize = CBlkSize Int32
- newtype CBlkCnt = CBlkCnt Int64
- newtype CClockId = CClockId Word32
- newtype CFsBlkCnt = CFsBlkCnt Word32
- newtype CFsFilCnt = CFsFilCnt Word32
- newtype CId = CId Word32
- newtype CKey = CKey Int32
- 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
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./__
Instances
Bounded CDev # | |
Enum CDev # | |
Eq CDev # | |
Integral CDev # | |
Num CDev # | |
Ord CDev # | |
Read CDev # | |
Real CDev # | |
Defined in System.Posix.Types toRational :: CDev -> Rational # | |
Show CDev # | |
FiniteBits CDev # | |
Defined in System.Posix.Types | |
Bits CDev # | |
Defined in System.Posix.Types (.&.) :: CDev -> CDev -> CDev # (.|.) :: CDev -> CDev -> CDev # complement :: CDev -> CDev # shift :: CDev -> Int -> CDev # rotate :: CDev -> Int -> CDev # setBit :: CDev -> Int -> CDev # clearBit :: CDev -> Int -> CDev # complementBit :: CDev -> Int -> CDev # testBit :: CDev -> Int -> Bool # bitSizeMaybe :: CDev -> Maybe Int # shiftL :: CDev -> Int -> CDev # unsafeShiftL :: CDev -> Int -> CDev # shiftR :: CDev -> Int -> CDev # unsafeShiftR :: CDev -> Int -> CDev # rotateL :: CDev -> Int -> CDev # | |
Storable CDev # | |
Defined in System.Posix.Types |
Instances
Bounded CIno # | |
Enum CIno # | |
Eq CIno # | |
Integral CIno # | |
Num CIno # | |
Ord CIno # | |
Read CIno # | |
Real CIno # | |
Defined in System.Posix.Types toRational :: CIno -> Rational # | |
Show CIno # | |
FiniteBits CIno # | |
Defined in System.Posix.Types | |
Bits CIno # | |
Defined in System.Posix.Types (.&.) :: CIno -> CIno -> CIno # (.|.) :: CIno -> CIno -> CIno # complement :: CIno -> CIno # shift :: CIno -> Int -> CIno # rotate :: CIno -> Int -> CIno # setBit :: CIno -> Int -> CIno # clearBit :: CIno -> Int -> CIno # complementBit :: CIno -> Int -> CIno # testBit :: CIno -> Int -> Bool # bitSizeMaybe :: CIno -> Maybe Int # shiftL :: CIno -> Int -> CIno # unsafeShiftL :: CIno -> Int -> CIno # shiftR :: CIno -> Int -> CIno # unsafeShiftR :: CIno -> Int -> CIno # rotateL :: CIno -> Int -> CIno # | |
Storable CIno # | |
Defined in System.Posix.Types |
Instances
Bounded CMode # | |
Enum CMode # | |
Eq CMode # | |
Integral CMode # | |
Num CMode # | |
Ord CMode # | |
Defined in System.Posix.Types | |
Read CMode # | |
Real CMode # | |
Defined in System.Posix.Types toRational :: CMode -> Rational # | |
Show CMode # | |
FiniteBits CMode # | |
Defined in System.Posix.Types finiteBitSize :: CMode -> Int # countLeadingZeros :: CMode -> Int # countTrailingZeros :: CMode -> Int # | |
Bits CMode # | |
Defined in System.Posix.Types (.&.) :: CMode -> CMode -> CMode # (.|.) :: CMode -> CMode -> CMode # xor :: CMode -> CMode -> CMode # complement :: CMode -> CMode # shift :: CMode -> Int -> CMode # rotate :: CMode -> Int -> CMode # setBit :: CMode -> Int -> CMode # clearBit :: CMode -> Int -> CMode # complementBit :: CMode -> Int -> CMode # testBit :: CMode -> Int -> Bool # bitSizeMaybe :: CMode -> Maybe Int # shiftL :: CMode -> Int -> CMode # unsafeShiftL :: CMode -> Int -> CMode # shiftR :: CMode -> Int -> CMode # unsafeShiftR :: CMode -> Int -> CMode # rotateL :: CMode -> Int -> CMode # | |
Storable CMode # | |
Instances
Bounded COff # | |
Enum COff # | |
Eq COff # | |
Integral COff # | |
Num COff # | |
Ord COff # | |
Read COff # | |
Real COff # | |
Defined in System.Posix.Types toRational :: COff -> Rational # | |
Show COff # | |
FiniteBits COff # | |
Defined in System.Posix.Types | |
Bits COff # | |
Defined in System.Posix.Types (.&.) :: COff -> COff -> COff # (.|.) :: COff -> COff -> COff # complement :: COff -> COff # shift :: COff -> Int -> COff # rotate :: COff -> Int -> COff # setBit :: COff -> Int -> COff # clearBit :: COff -> Int -> COff # complementBit :: COff -> Int -> COff # testBit :: COff -> Int -> Bool # bitSizeMaybe :: COff -> Maybe Int # shiftL :: COff -> Int -> COff # unsafeShiftL :: COff -> Int -> COff # shiftR :: COff -> Int -> COff # unsafeShiftR :: COff -> Int -> COff # rotateL :: COff -> Int -> COff # | |
Storable COff # | |
Defined in System.Posix.Types |
Instances
Bounded CPid # | |
Enum CPid # | |
Eq CPid # | |
Integral CPid # | |
Num CPid # | |
Ord CPid # | |
Read CPid # | |
Real CPid # | |
Defined in System.Posix.Types toRational :: CPid -> Rational # | |
Show CPid # | |
FiniteBits CPid # | |
Defined in System.Posix.Types | |
Bits CPid # | |
Defined in System.Posix.Types (.&.) :: CPid -> CPid -> CPid # (.|.) :: CPid -> CPid -> CPid # complement :: CPid -> CPid # shift :: CPid -> Int -> CPid # rotate :: CPid -> Int -> CPid # setBit :: CPid -> Int -> CPid # clearBit :: CPid -> Int -> CPid # complementBit :: CPid -> Int -> CPid # testBit :: CPid -> Int -> Bool # bitSizeMaybe :: CPid -> Maybe Int # shiftL :: CPid -> Int -> CPid # unsafeShiftL :: CPid -> Int -> CPid # shiftR :: CPid -> Int -> CPid # unsafeShiftR :: CPid -> Int -> CPid # rotateL :: CPid -> Int -> CPid # | |
Storable CPid # | |
Defined in System.Posix.Types |
Instances
Instances
Bounded CGid # | |
Enum CGid # | |
Eq CGid # | |
Integral CGid # | |
Num CGid # | |
Ord CGid # | |
Read CGid # | |
Real CGid # | |
Defined in System.Posix.Types toRational :: CGid -> Rational # | |
Show CGid # | |
FiniteBits CGid # | |
Defined in System.Posix.Types | |
Bits CGid # | |
Defined in System.Posix.Types (.&.) :: CGid -> CGid -> CGid # (.|.) :: CGid -> CGid -> CGid # complement :: CGid -> CGid # shift :: CGid -> Int -> CGid # rotate :: CGid -> Int -> CGid # setBit :: CGid -> Int -> CGid # clearBit :: CGid -> Int -> CGid # complementBit :: CGid -> Int -> CGid # testBit :: CGid -> Int -> Bool # bitSizeMaybe :: CGid -> Maybe Int # shiftL :: CGid -> Int -> CGid # unsafeShiftL :: CGid -> Int -> CGid # shiftR :: CGid -> Int -> CGid # unsafeShiftR :: CGid -> Int -> CGid # rotateL :: CGid -> Int -> CGid # | |
Storable CGid # | |
Defined in System.Posix.Types |
Instances
Instances
Bounded CUid # | |
Enum CUid # | |
Eq CUid # | |
Integral CUid # | |
Num CUid # | |
Ord CUid # | |
Read CUid # | |
Real CUid # | |
Defined in System.Posix.Types toRational :: CUid -> Rational # | |
Show CUid # | |
FiniteBits CUid # | |
Defined in System.Posix.Types | |
Bits CUid # | |
Defined in System.Posix.Types (.&.) :: CUid -> CUid -> CUid # (.|.) :: CUid -> CUid -> CUid # complement :: CUid -> CUid # shift :: CUid -> Int -> CUid # rotate :: CUid -> Int -> CUid # setBit :: CUid -> Int -> CUid # clearBit :: CUid -> Int -> CUid # complementBit :: CUid -> Int -> CUid # testBit :: CUid -> Int -> Bool # bitSizeMaybe :: CUid -> Maybe Int # shiftL :: CUid -> Int -> CUid # unsafeShiftL :: CUid -> Int -> CUid # shiftR :: CUid -> Int -> CUid # unsafeShiftR :: CUid -> Int -> CUid # rotateL :: CUid -> Int -> CUid # | |
Storable CUid # | |
Defined in System.Posix.Types |
Instances
Enum CSpeed # | |
Defined in System.Posix.Types | |
Eq CSpeed # | |
Num CSpeed # | |
Ord CSpeed # | |
Defined in System.Posix.Types | |
Read CSpeed # | |
Real CSpeed # | |
Defined in System.Posix.Types toRational :: CSpeed -> Rational # | |
Show CSpeed # | |
Storable CSpeed # | |
Instances
Instances
Bounded CRLim # | |
Enum CRLim # | |
Eq CRLim # | |
Integral CRLim # | |
Num CRLim # | |
Ord CRLim # | |
Defined in System.Posix.Types | |
Read CRLim # | |
Real CRLim # | |
Defined in System.Posix.Types toRational :: CRLim -> Rational # | |
Show CRLim # | |
FiniteBits CRLim # | |
Defined in System.Posix.Types finiteBitSize :: CRLim -> Int # countLeadingZeros :: CRLim -> Int # countTrailingZeros :: CRLim -> Int # | |
Bits CRLim # | |
Defined in System.Posix.Types (.&.) :: CRLim -> CRLim -> CRLim # (.|.) :: CRLim -> CRLim -> CRLim # xor :: CRLim -> CRLim -> CRLim # complement :: CRLim -> CRLim # shift :: CRLim -> Int -> CRLim # rotate :: CRLim -> Int -> CRLim # setBit :: CRLim -> Int -> CRLim # clearBit :: CRLim -> Int -> CRLim # complementBit :: CRLim -> Int -> CRLim # testBit :: CRLim -> Int -> Bool # bitSizeMaybe :: CRLim -> Maybe Int # shiftL :: CRLim -> Int -> CRLim # unsafeShiftL :: CRLim -> Int -> CRLim # shiftR :: CRLim -> Int -> CRLim # unsafeShiftR :: CRLim -> Int -> CRLim # rotateL :: CRLim -> Int -> CRLim # | |
Storable CRLim # | |
Since: base-4.10.0.0
Instances
Since: base-4.10.0.0
Instances
Since: base-4.10.0.0
Instances
Since: base-4.10.0.0
Instances
Since: base-4.10.0.0
Instances
Since: base-4.10.0.0
Instances
Bounded CId # | |
Enum CId # | |
Eq CId # | |
Integral CId # | |
Num CId # | |
Ord CId # | |
Read CId # | |
Real CId # | |
Defined in System.Posix.Types toRational :: CId -> Rational # | |
Show CId # | |
FiniteBits CId # | |
Defined in System.Posix.Types | |
Bits CId # | |
Defined in System.Posix.Types | |
Storable CId # | |
Defined in System.Posix.Types |
Since: base-4.10.0.0
Instances
Bounded CKey # | |
Enum CKey # | |
Eq CKey # | |
Integral CKey # | |
Num CKey # | |
Ord CKey # | |
Read CKey # | |
Real CKey # | |
Defined in System.Posix.Types toRational :: CKey -> Rational # | |
Show CKey # | |
FiniteBits CKey # | |
Defined in System.Posix.Types | |
Bits CKey # | |
Defined in System.Posix.Types (.&.) :: CKey -> CKey -> CKey # (.|.) :: CKey -> CKey -> CKey # complement :: CKey -> CKey # shift :: CKey -> Int -> CKey # rotate :: CKey -> Int -> CKey # setBit :: CKey -> Int -> CKey # clearBit :: CKey -> Int -> CKey # complementBit :: CKey -> Int -> CKey # testBit :: CKey -> Int -> Bool # bitSizeMaybe :: CKey -> Maybe Int # shiftL :: CKey -> Int -> CKey # unsafeShiftL :: CKey -> Int -> CKey # shiftR :: CKey -> Int -> CKey # unsafeShiftR :: CKey -> Int -> CKey # rotateL :: CKey -> Int -> CKey # | |
Storable CKey # | |
Defined in System.Posix.Types |
Instances
Bounded Fd # | |
Enum Fd # | |
Eq Fd # | |
Integral Fd # | |
Num Fd # | |
Ord Fd # | |
Read Fd # | |
Real Fd # | |
Defined in System.Posix.Types toRational :: Fd -> Rational # | |
Show Fd # | |
FiniteBits Fd # | |
Defined in System.Posix.Types | |
Bits Fd # | |
Defined in System.Posix.Types | |
Storable Fd # | |
type FileOffset = COff #
type ProcessGroupID = CPid #