Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readBuf :: RawIO dev => dev -> Buffer Word8 -> IO (Int, Buffer Word8)base GHC.IO.BufferedIO No documentation available.
readBufNonBlocking :: RawIO dev => dev -> Buffer Word8 -> IO (Maybe Int, Buffer Word8)base GHC.IO.BufferedIO No documentation available.
readNonBlocking :: RawIO a => a -> Ptr Word8 -> Word64 -> Int -> IO (Maybe Int)base GHC.IO.Device Read up to the specified number of bytes starting from a specified offset, returning the number of bytes actually read, or Nothing if the end of the stream has been reached.
ready :: IODevice a => a -> Bool -> Int -> IO Boolbase GHC.IO.Device ready dev write msecs returns True if the device has data to read (if write is False) or space to write new data (if write is True). msecs specifies how long to wait, in milliseconds.
readRawBufferPtr :: String -> FD -> Ptr Word8 -> Int -> CSize -> IO Intbase GHC.IO.FD No documentation available.
readRawBufferPtrNoBlock :: String -> FD -> Ptr Word8 -> Int -> CSize -> IO Intbase GHC.IO.FD No documentation available.
readTextDevice :: Handle__ -> CharBuffer -> IO CharBufferbase GHC.IO.Handle.Internals No documentation available.
readTextDeviceNonBlocking :: Handle__ -> CharBuffer -> IO CharBufferbase GHC.IO.Handle.Internals No documentation available.
readIOArray :: Ix i => IOArray i e -> i -> IO ebase GHC.IOArray Read a value from an IOArray
readIOPort :: IOPort a -> IO abase GHC.IOPort Atomically read the contents of the IOPort. If the IOPort is currently empty, readIOPort will wait until it is full. After a readIOPort, the IOPort is left empty. There is one important property of readIOPort:
- Only a single threads can be blocked on an IOPort.