| 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 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 Methods toRational :: CDev -> Rational # | |
| Show CDev # | |
| FiniteBits CDev # | |
Defined in System.Posix.Types Methods finiteBitSize :: CDev -> Int # countLeadingZeros :: CDev -> Int # countTrailingZeros :: CDev -> Int # | |
| Bits CDev # | |
Defined in System.Posix.Types 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 # | |
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 Methods toRational :: CIno -> Rational # | |
| Show CIno # | |
| FiniteBits CIno # | |
Defined in System.Posix.Types Methods finiteBitSize :: CIno -> Int # countLeadingZeros :: CIno -> Int # countTrailingZeros :: CIno -> Int # | |
| Bits CIno # | |
Defined in System.Posix.Types 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 # | |
Defined in System.Posix.Types | |
Instances
Instances
| Bounded COff # | |
| Enum COff # | |
| Eq COff # | |
| Integral COff # | |
| Num COff # | |
| Ord COff # | |
| Read COff # | |
| Real COff # | |
Defined in System.Posix.Types Methods toRational :: COff -> Rational # | |
| Show COff # | |
| FiniteBits COff # | |
Defined in System.Posix.Types Methods finiteBitSize :: COff -> Int # countLeadingZeros :: COff -> Int # countTrailingZeros :: COff -> Int # | |
| Bits COff # | |
Defined in System.Posix.Types 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 # | |
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 Methods toRational :: CPid -> Rational # | |
| Show CPid # | |
| FiniteBits CPid # | |
Defined in System.Posix.Types Methods finiteBitSize :: CPid -> Int # countLeadingZeros :: CPid -> Int # countTrailingZeros :: CPid -> Int # | |
| Bits CPid # | |
Defined in System.Posix.Types 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 # | |
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 Methods toRational :: CGid -> Rational # | |
| Show CGid # | |
| FiniteBits CGid # | |
Defined in System.Posix.Types Methods finiteBitSize :: CGid -> Int # countLeadingZeros :: CGid -> Int # countTrailingZeros :: CGid -> Int # | |
| Bits CGid # | |
Defined in System.Posix.Types Methods (.&.) :: 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 Methods toRational :: CUid -> Rational # | |
| Show CUid # | |
| FiniteBits CUid # | |
Defined in System.Posix.Types Methods finiteBitSize :: CUid -> Int # countLeadingZeros :: CUid -> Int # countTrailingZeros :: CUid -> Int # | |
| Bits CUid # | |
Defined in System.Posix.Types Methods (.&.) :: 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 # | |
| Read CSpeed # | |
| Real CSpeed # | |
Defined in System.Posix.Types Methods toRational :: CSpeed -> Rational # | |
| Show CSpeed # | |
| Storable CSpeed # | |
Instances
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
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 Methods toRational :: CId -> Rational # | |
| Show CId # | |
| FiniteBits CId # | |
Defined in System.Posix.Types Methods finiteBitSize :: CId -> Int # countLeadingZeros :: CId -> Int # countTrailingZeros :: CId -> Int # | |
| 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 Methods toRational :: CKey -> Rational # | |
| Show CKey # | |
| FiniteBits CKey # | |
Defined in System.Posix.Types Methods finiteBitSize :: CKey -> Int # countLeadingZeros :: CKey -> Int # countTrailingZeros :: CKey -> Int # | |
| Bits CKey # | |
Defined in System.Posix.Types Methods (.&.) :: 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 Methods toRational :: Fd -> Rational # | |
| Show Fd # | |
| FiniteBits Fd # | |
Defined in System.Posix.Types Methods finiteBitSize :: Fd -> Int # countLeadingZeros :: Fd -> Int # countTrailingZeros :: Fd -> Int # | |
| Bits Fd # | |
Defined in System.Posix.Types | |
| Storable Fd # | |
Defined in System.Posix.Types | |
type FileOffset = COff #
type ProcessGroupID = CPid #