Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fdRead :: Fd -> ByteCount -> IO (String, ByteCount)unix System.Posix.IO Deprecated: This function is scheduled to be dropped in favor of fdRead, because decoding e.g. UTF-8 streams partially is unsafe.
fdReadBuf :: Fd -> Ptr Word8 -> ByteCount -> IO ByteCountunix System.Posix.IO Read data from an Fd into memory. This is exactly equivalent to the POSIX read function.
-
unix System.Posix.IO.ByteString O_NONBLOCK
fdRead :: Fd -> ByteCount -> IO ByteStringunix System.Posix.IO.ByteString Read data from an Fd and return it as a ByteString. Throws an exception if this is an invalid descriptor, or EOF has been reached.
fdReadBuf :: Fd -> Ptr Word8 -> ByteCount -> IO ByteCountunix System.Posix.IO.ByteString Read data from an Fd into memory. This is exactly equivalent to the POSIX read function.
-
unix System.Posix.IO.PosixString O_NONBLOCK
fdRead :: Fd -> ByteCount -> IO ByteStringunix System.Posix.IO.PosixString Read data from an Fd and return it as a ByteString. Throws an exception if this is an invalid descriptor, or EOF has been reached.
fdReadBuf :: Fd -> Ptr Word8 -> ByteCount -> IO ByteCountunix System.Posix.IO.PosixString Read data from an Fd into memory. This is exactly equivalent to the POSIX read function.
semThreadWait :: Semaphore -> IO ()unix System.Posix.Semaphore Poll the semaphore until it is available, then lock it. Unlike semWait, this will block only the current thread rather than the entire process.
shmReadWrite :: ShmOpenFlags -> Boolunix System.Posix.SharedMem If true, open the shm object read-write rather than read-only.