Idris2Doc : System.UV.Raw.Stream

System.UV.Raw.Stream

(source)

Definitions

recordAllocCB : Type
Totality: total
Visibility: export
Constructor: 
AC : AnyPtr->AllocCB

Projection: 
.ptr : AllocCB->AnyPtr

Hint: 
ResourceAllocCB
allocCB : HasIOio=> (PtrHandle->Bits32->PtrBuf->IO ()) ->ioAllocCB
Totality: total
Visibility: export
sizedAlloc : HasIOio=>Bits32->ioAllocCB
Totality: total
Visibility: export
defaultAlloc : HasIOio=>ioAllocCB
Totality: total
Visibility: export
freeAllocCB : HasIOio=>AllocCB->io ()
Totality: total
Visibility: export
uv_shutdown : HasIOio=>Ptrt-> {auto0_ : PCasttStream} -> (PtrShutdown->Int32->IO ()) ->ioInt32
  Shutdown the outgoing (write) side of a duplex stream.
It waits for pending write requests to complete. The handle should
refer to a initialized stream.
The cb is called after shutdown is complete.

Totality: total
Visibility: export
uv_listen : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->Int32-> (PtrStream->Int32->IO ()) ->ioInt32
  Start listening for incoming connections.
backlog indicates the number of connections the kernel might queue,
same as listen(2). When a new incoming connection is received
the uv_connection_cb callback is called.

Totality: total
Visibility: export
uv_accept : HasIOio=>Ptrs->Ptrt-> {auto0_ : PCastsStream} -> {auto0_ : PCasttStream} ->ioInt32
Totality: total
Visibility: export
uv_read_start : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->AllocCB-> (PtrStream->Int32->PtrBuf->IO ()) ->ioInt32
  Read data from an incoming stream.
The `readCB` callback will be made several times until there is
no more data to read or `readstop` is called.

Totality: total
Visibility: export
uv_read_stop : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->io ()
  Stop reading data from the stream. The uv_read_cb callback will no longer
be called.

This function is idempotent and may be safely called on a stopped stream.

This function will always succeed; hence, checking its return value
is unnecessary. A non-zero return indicates that finishing releasing
resources may be pending on the next input event on that TTY on Windows,
and does not indicate failure.

Totality: total
Visibility: export
uv_write : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->PtrBits8->Bits32-> (PtrWrite->Int32->IO ()) ->ioInt32
  Write data to stream. Buffers are written in order. Example:

Totality: total
Visibility: export
uv_is_readable : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->ioBool
Totality: total
Visibility: export
uv_is_writable : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->ioBool
Totality: total
Visibility: export
uv_stream_set_blocking : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->Bool->ioInt32
Totality: total
Visibility: export
uv_get_write_queue_size : HasIOio=>Ptrt-> {auto0_ : PCasttStream} ->ioBits32
Totality: total
Visibility: export