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 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 CBlkSize = CBlkSize Int64
- newtype CBlkCnt = CBlkCnt Int64
- newtype CClockId = CClockId Int32
- newtype CFsBlkCnt = CFsBlkCnt Word64
- newtype CFsFilCnt = CFsFilCnt Word64
- newtype CId = CId Word32
- newtype CKey = CKey Int32
- newtype CTimer = CTimer (Ptr ())
- 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
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Enum CCc # | |
Eq CCc # | |
Num CCc # | |
Ord CCc # | |
Read CCc # | |
Real CCc # | |
toRational :: CCc -> Rational Source # | |
Show CCc # | |
Storable CCc # | |
Instances
Enum CSpeed # | |
succ :: CSpeed -> CSpeed Source # pred :: CSpeed -> CSpeed Source # toEnum :: Int -> CSpeed Source # fromEnum :: CSpeed -> Int Source # enumFrom :: CSpeed -> [CSpeed] Source # enumFromThen :: CSpeed -> CSpeed -> [CSpeed] Source # enumFromTo :: CSpeed -> CSpeed -> [CSpeed] Source # enumFromThenTo :: CSpeed -> CSpeed -> CSpeed -> [CSpeed] Source # | |
Eq CSpeed # | |
Num CSpeed # | |
Ord CSpeed # | |
Read CSpeed # | |
Real CSpeed # | |
toRational :: CSpeed -> Rational Source # | |
Show CSpeed # | |
Storable CSpeed # | |
sizeOf :: CSpeed -> Int Source # alignment :: CSpeed -> Int Source # peekElemOff :: Ptr CSpeed -> Int -> IO CSpeed Source # pokeElemOff :: Ptr CSpeed -> Int -> CSpeed -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CSpeed Source # pokeByteOff :: Ptr b -> Int -> CSpeed -> IO () Source # |
Instances
Instances
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Bounded CId # | |
Enum CId # | |
Eq CId # | |
Integral CId # | |
Num CId # | |
Ord CId # | |
Read CId # | |
Real CId # | |
toRational :: CId -> Rational Source # | |
Show CId # | |
FiniteBits CId # | |
finiteBitSize :: CId -> Int Source # countLeadingZeros :: CId -> Int Source # countTrailingZeros :: CId -> Int Source # | |
Bits CId # | |
(.&.) :: CId -> CId -> CId Source # (.|.) :: CId -> CId -> CId Source # xor :: CId -> CId -> CId Source # complement :: CId -> CId Source # shift :: CId -> Int -> CId Source # rotate :: CId -> Int -> CId Source # setBit :: CId -> Int -> CId Source # clearBit :: CId -> Int -> CId Source # complementBit :: CId -> Int -> CId Source # testBit :: CId -> Int -> Bool Source # bitSizeMaybe :: CId -> Maybe Int Source # bitSize :: CId -> Int Source # isSigned :: CId -> Bool Source # shiftL :: CId -> Int -> CId Source # unsafeShiftL :: CId -> Int -> CId Source # shiftR :: CId -> Int -> CId Source # unsafeShiftR :: CId -> Int -> CId Source # rotateL :: CId -> Int -> CId Source # | |
Storable CId # | |
Since: 4.10.0.0
Instances
Since: 4.10.0.0
Instances
Eq CTimer # | |
Ord CTimer # | |
Show CTimer # | |
Storable CTimer # | |
sizeOf :: CTimer -> Int Source # alignment :: CTimer -> Int Source # peekElemOff :: Ptr CTimer -> Int -> IO CTimer Source # pokeElemOff :: Ptr CTimer -> Int -> CTimer -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CTimer Source # pokeByteOff :: Ptr b -> Int -> CTimer -> IO () Source # |
Instances
Bounded Fd # | |
Enum Fd # | |
Eq Fd # | |
Integral Fd # | |
Num Fd # | |
Ord Fd # | |
Read Fd # | |
Real Fd # | |
toRational :: Fd -> Rational Source # | |
Show Fd # | |
FiniteBits Fd # | |
finiteBitSize :: Fd -> Int Source # countLeadingZeros :: Fd -> Int Source # countTrailingZeros :: Fd -> Int Source # | |
Bits Fd # | |
(.&.) :: Fd -> Fd -> Fd Source # (.|.) :: Fd -> Fd -> Fd Source # xor :: Fd -> Fd -> Fd Source # complement :: Fd -> Fd Source # shift :: Fd -> Int -> Fd Source # rotate :: Fd -> Int -> Fd Source # setBit :: Fd -> Int -> Fd Source # clearBit :: Fd -> Int -> Fd Source # complementBit :: Fd -> Int -> Fd Source # testBit :: Fd -> Int -> Bool Source # bitSizeMaybe :: Fd -> Maybe Int Source # isSigned :: Fd -> Bool Source # shiftL :: Fd -> Int -> Fd Source # unsafeShiftL :: Fd -> Int -> Fd Source # shiftR :: Fd -> Int -> Fd Source # unsafeShiftR :: Fd -> Int -> Fd Source # rotateL :: Fd -> Int -> Fd Source # | |
Storable Fd # | |
type FileOffset = COff Source #
type ProcessGroupID = CPid Source #