| 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
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 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./__
Instances
| Bounded CDev # | |
| Enum CDev # | |
| Eq CDev # | |
| Integral CDev # | |
| Num CDev # | |
| Ord CDev # | |
| Read CDev # | |
| Real CDev # | |
Methods toRational :: CDev -> Rational # | |
| Show CDev # | |
| FiniteBits CDev # | |
Methods finiteBitSize :: CDev -> Int # countLeadingZeros :: CDev -> Int # countTrailingZeros :: CDev -> Int # | |
| Bits CDev # | |
Methods (.&.) :: 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 # | |
Instances
| Bounded CIno # | |
| Enum CIno # | |
| Eq CIno # | |
| Integral CIno # | |
| Num CIno # | |
| Ord CIno # | |
| Read CIno # | |
| Real CIno # | |
Methods toRational :: CIno -> Rational # | |
| Show CIno # | |
| FiniteBits CIno # | |
Methods finiteBitSize :: CIno -> Int # countLeadingZeros :: CIno -> Int # countTrailingZeros :: CIno -> Int # | |
| Bits CIno # | |
Methods (.&.) :: 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 # | |
Instances
| Bounded CMode # | |
| Enum CMode # | |
| Eq CMode # | |
| Integral CMode # | |
| Num CMode # | |
| Ord CMode # | |
| Read CMode # | |
| Real CMode # | |
Methods toRational :: CMode -> Rational # | |
| Show CMode # | |
| FiniteBits CMode # | |
Methods finiteBitSize :: CMode -> Int # countLeadingZeros :: CMode -> Int # countTrailingZeros :: CMode -> Int # | |
| Bits CMode # | |
Methods (.&.) :: 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 # | |
Methods toRational :: COff -> Rational # | |
| Show COff # | |
| FiniteBits COff # | |
Methods finiteBitSize :: COff -> Int # countLeadingZeros :: COff -> Int # countTrailingZeros :: COff -> Int # | |
| Bits COff # | |
Methods (.&.) :: 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 # | |
Instances
| Bounded CPid # | |
| Enum CPid # | |
| Eq CPid # | |
| Integral CPid # | |
| Num CPid # | |
| Ord CPid # | |
| Read CPid # | |
| Real CPid # | |
Methods toRational :: CPid -> Rational # | |
| Show CPid # | |
| FiniteBits CPid # | |
Methods finiteBitSize :: CPid -> Int # countLeadingZeros :: CPid -> Int # countTrailingZeros :: CPid -> Int # | |
| Bits CPid # | |
Methods (.&.) :: 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 # | |
Instances
| Bounded CSsize # | |
| Enum CSsize # | |
| Eq CSsize # | |
| Integral CSsize # | |
| Num CSsize # | |
| Ord CSsize # | |
| Read CSsize # | |
| Real CSsize # | |
Methods toRational :: CSsize -> Rational # | |
| Show CSsize # | |
| FiniteBits CSsize # | |
Methods finiteBitSize :: CSsize -> Int # countLeadingZeros :: CSsize -> Int # countTrailingZeros :: CSsize -> Int # | |
| Bits CSsize # | |
Methods (.&.) :: 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 # | |
Instances
| Bounded Fd # | |
| Enum Fd # | |
| Eq Fd # | |
| Integral Fd # | |
| Num Fd # | |
| Ord Fd # | |
| Read Fd # | |
| Real Fd # | |
Methods toRational :: Fd -> Rational # | |
| Show Fd # | |
| FiniteBits Fd # | |
Methods finiteBitSize :: Fd -> Int # countLeadingZeros :: Fd -> Int # countTrailingZeros :: Fd -> Int # | |
| Bits Fd # | |
| Storable Fd # | |
type FileOffset = COff #
type ProcessGroupID = CPid #