Idris2Doc : System.UV.Raw.Pipe

System.UV.Raw.Pipe

(source)

Definitions

uv_pipe_init : HasIO io => Ptr Loop -> Ptr Pipe -> Bool -> io Int32
  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 : HasIO io => Ptr Pipe -> Int32 -> io Int32
  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 : HasIO io => Ptr Pipe -> String -> io Int32
  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 : HasIO io => Ptr Pipe -> String -> (Ptr Connect -> 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