Library:

Description:

This function is used when the consumer of a stream is in a different process. The function causes the local stream handle to have access to the same buffers as the remote stream. It also connects the local stream as a consumer endpoint of the remote stream.

Returns:

0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).