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
Contents
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
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Bounded Fd # | |
Enum Fd # | |
Eq Fd # | |
Integral Fd # | |
Num Fd # | |
Ord Fd # | |
Read Fd # | |
Real Fd # | |
Methods toRational :: Fd -> Rational Source # | |
Show Fd # | |
FiniteBits Fd # | |
Methods finiteBitSize :: Fd -> Int Source # countLeadingZeros :: Fd -> Int Source # countTrailingZeros :: Fd -> Int Source # | |
Bits Fd # | |
Methods (.&.) :: 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 #