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 Word32
- newtype CIno = CIno Word16
- newtype CMode = CMode Word16
- newtype COff = COff Int64
- newtype CPid = CPid Int64
- newtype CSsize = CSsize Int64
- newtype Fd = Fd CInt
- 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 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 #