Idris2Doc : System.UV.Raw.Pipe

System.UV.Raw.Pipe

(source)

Definitions

uv_pipe_init : HasIOio=>PtrLoop->PtrPipe->Bool->ioInt32
  Initialize a pipe handle. The ipc argument is a boolean to indicate
if this pipe will be used for handle passing between processes
(which may change the bytes on the wire). Only a connected pipe that will
be passing the handles should have this flag set, not the listening
pipe that uv_accept is called on.

Totality: total
Visibility: export
uv_pipe_open : HasIOio=>PtrPipe->Int32->ioInt32
  Open an existing file descriptor or HANDLE as a pipe.

The passed file descriptor or HANDLE is not checked for its type,
but it's required that it represents a valid pipe.

Totality: total
Visibility: export
uv_pipe_bind : HasIOio=>PtrPipe->String->ioInt32
  Bind the pipe to a file path (Unix) or a name (Windows).

Does not support Linux abstract namespace sockets, unlike uv_pipe_bind2().

Alias for uv_pipe_bind2(handle, name, strlen(name), 0).

NOTE:
Paths on Unix get truncated to sizeof(sockaddr_un.sun_path) bytes,
typically between 92 and 108 bytes.

Totality: total
Visibility: export
uv_pipe_connect : HasIOio=>PtrPipe->String-> (PtrConnect->Int32->IO ()) ->io ()
  Connect to the Unix domain socket or the Windows named pipe.

Does not support Linux abstract namespace sockets, unlike uv_pipe_connect2().

Alias for uv_pipe_connect2(req, handle, name, strlen(name), 0, cb).

NOTE:
Paths on Unix get truncated to sizeof(sockaddr_un.sun_path) bytes,
typically between 92 and 108 bytes.

Totality: total
Visibility: export