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.
- 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
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./__
Bounded CDev # | |
Enum CDev # | |
Eq CDev # | |
Integral CDev # | |
Num CDev # | |
Ord CDev # | |
Read CDev # | |
Real CDev # | |
toRational :: CDev -> Rational # | |
Show CDev # | |
FiniteBits CDev # | |
Bits CDev # | |
(.&.) :: 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 # | |
Bounded CIno # | |
Enum CIno # | |
Eq CIno # | |
Integral CIno # | |
Num CIno # | |
Ord CIno # | |
Read CIno # | |
Real CIno # | |
toRational :: CIno -> Rational # | |
Show CIno # | |
FiniteBits CIno # | |
Bits CIno # | |
(.&.) :: 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 # | |
Bounded CMode # | |
Enum CMode # | |
Eq CMode # | |
Integral CMode # | |
Num CMode # | |
Ord CMode # | |
Read CMode # | |
Real CMode # | |
toRational :: CMode -> Rational # | |
Show CMode # | |
FiniteBits CMode # | |
finiteBitSize :: CMode -> Int # countLeadingZeros :: CMode -> Int # countTrailingZeros :: CMode -> Int # | |
Bits CMode # | |
(.&.) :: 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 # | |
Bounded COff # | |
Enum COff # | |
Eq COff # | |
Integral COff # | |
Num COff # | |
Ord COff # | |
Read COff # | |
Real COff # | |
toRational :: COff -> Rational # | |
Show COff # | |
FiniteBits COff # | |
Bits COff # | |
(.&.) :: 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 # | |
Bounded CPid # | |
Enum CPid # | |
Eq CPid # | |
Integral CPid # | |
Num CPid # | |
Ord CPid # | |
Read CPid # | |
Real CPid # | |
toRational :: CPid -> Rational # | |
Show CPid # | |
FiniteBits CPid # | |
Bits CPid # | |
(.&.) :: 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 # | |
Bounded CSsize # | |
Enum CSsize # | |
Eq CSsize # | |
Integral CSsize # | |
Num CSsize # | |
Ord CSsize # | |
Read CSsize # | |
Real CSsize # | |
toRational :: CSsize -> Rational # | |
Show CSsize # | |
FiniteBits CSsize # | |
finiteBitSize :: CSsize -> Int # countLeadingZeros :: CSsize -> Int # countTrailingZeros :: CSsize -> Int # | |
Bits CSsize # | |
(.&.) :: CSsize -> CSsize -> CSsize # (.|.) :: CSsize -> CSsize -> CSsize # xor :: CSsize -> CSsize -> CSsize # complement :: CSsize -> CSsize # shift :: CSsize -> Int -> CSsize # rotate :: CSsize -> Int -> CSsize # setBit :: CSsize -> Int -> CSsize # clearBit :: CSsize -> Int -> CSsize # complementBit :: CSsize -> Int -> CSsize # testBit :: CSsize -> Int -> Bool # bitSizeMaybe :: CSsize -> Maybe Int # shiftL :: CSsize -> Int -> CSsize # unsafeShiftL :: CSsize -> Int -> CSsize # shiftR :: CSsize -> Int -> CSsize # unsafeShiftR :: CSsize -> Int -> CSsize # rotateL :: CSsize -> Int -> CSsize # | |
Storable CSsize # | |
Bounded CGid # | |
Enum CGid # | |
Eq CGid # | |
Integral CGid # | |
Num CGid # | |
Ord CGid # | |
Read CGid # | |
Real CGid # | |
toRational :: CGid -> Rational # | |
Show CGid # | |
FiniteBits CGid # | |
Bits CGid # | |
(.&.) :: 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 # | |
Bounded CNlink # | |
Enum CNlink # | |
Eq CNlink # | |
Integral CNlink # | |
Num CNlink # | |
Ord CNlink # | |
Read CNlink # | |
Real CNlink # | |
toRational :: CNlink -> Rational # | |
Show CNlink # | |
FiniteBits CNlink # | |
finiteBitSize :: CNlink -> Int # countLeadingZeros :: CNlink -> Int # countTrailingZeros :: CNlink -> Int # | |
Bits CNlink # | |
(.&.) :: CNlink -> CNlink -> CNlink # (.|.) :: CNlink -> CNlink -> CNlink # xor :: CNlink -> CNlink -> CNlink # complement :: CNlink -> CNlink # shift :: CNlink -> Int -> CNlink # rotate :: CNlink -> Int -> CNlink # setBit :: CNlink -> Int -> CNlink # clearBit :: CNlink -> Int -> CNlink # complementBit :: CNlink -> Int -> CNlink # testBit :: CNlink -> Int -> Bool # bitSizeMaybe :: CNlink -> Maybe Int # shiftL :: CNlink -> Int -> CNlink # unsafeShiftL :: CNlink -> Int -> CNlink # shiftR :: CNlink -> Int -> CNlink # unsafeShiftR :: CNlink -> Int -> CNlink # rotateL :: CNlink -> Int -> CNlink # | |
Storable CNlink # | |
Bounded CUid # | |
Enum CUid # | |
Eq CUid # | |
Integral CUid # | |
Num CUid # | |
Ord CUid # | |
Read CUid # | |
Real CUid # | |
toRational :: CUid -> Rational # | |
Show CUid # | |
FiniteBits CUid # | |
Bits CUid # | |
(.&.) :: 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 # | |
Enum CSpeed # | |
Eq CSpeed # | |
Num CSpeed # | |
Ord CSpeed # | |
Read CSpeed # | |
Real CSpeed # | |
toRational :: CSpeed -> Rational # | |
Show CSpeed # | |
Storable CSpeed # | |
Bounded CTcflag # | |
Enum CTcflag # | |
Eq CTcflag # | |
Integral CTcflag # | |
Num CTcflag # | |
Ord CTcflag # | |
Read CTcflag # | |
Real CTcflag # | |
toRational :: CTcflag -> Rational # | |
Show CTcflag # | |
FiniteBits CTcflag # | |
finiteBitSize :: CTcflag -> Int # countLeadingZeros :: CTcflag -> Int # countTrailingZeros :: CTcflag -> Int # | |
Bits CTcflag # | |
(.&.) :: CTcflag -> CTcflag -> CTcflag # (.|.) :: CTcflag -> CTcflag -> CTcflag # xor :: CTcflag -> CTcflag -> CTcflag # complement :: CTcflag -> CTcflag # shift :: CTcflag -> Int -> CTcflag # rotate :: CTcflag -> Int -> CTcflag # setBit :: CTcflag -> Int -> CTcflag # clearBit :: CTcflag -> Int -> CTcflag # complementBit :: CTcflag -> Int -> CTcflag # testBit :: CTcflag -> Int -> Bool # bitSizeMaybe :: CTcflag -> Maybe Int # shiftL :: CTcflag -> Int -> CTcflag # unsafeShiftL :: CTcflag -> Int -> CTcflag # shiftR :: CTcflag -> Int -> CTcflag # unsafeShiftR :: CTcflag -> Int -> CTcflag # rotateL :: CTcflag -> Int -> CTcflag # | |
Storable CTcflag # | |
Bounded CRLim # | |
Enum CRLim # | |
Eq CRLim # | |
Integral CRLim # | |
Num CRLim # | |
Ord CRLim # | |
Read CRLim # | |
Real CRLim # | |
toRational :: CRLim -> Rational # | |
Show CRLim # | |
FiniteBits CRLim # | |
finiteBitSize :: CRLim -> Int # countLeadingZeros :: CRLim -> Int # countTrailingZeros :: CRLim -> Int # | |
Bits CRLim # | |
(.&.) :: 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 # | |
Bounded Fd # | |
Enum Fd # | |
Eq Fd # | |
Integral Fd # | |
Num Fd # | |
Ord Fd # | |
Read Fd # | |
Real Fd # | |
toRational :: Fd -> Rational # | |
Show Fd # | |
FiniteBits Fd # | |
Bits Fd # | |
Storable Fd # | |
type FileOffset = COff #
type ProcessGroupID = CPid #