sockets-0.4.0.0: src-stream-send/Stream/Send.hsig
{-# language DataKinds #-}
signature Stream.Send where
import Socket.Buffer (Buffer)
import Foreign.C.Error (Errno)
import Foreign.C.Types (CSize)
import Prelude (Either,IO)
import System.Posix.Types (Fd)
-- Make a single POSIX @send@ call with the unsafe FFI.
sendOnce ::
Fd
-> Buffer
-> IO (Either Errno CSize)