signature Stream.Send.B where

import Stream.Send.Buffer.B (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)