debian man page for io_socketpair

Query: io_socketpair

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

io_socketpair(3)					     Library Functions Manual						  io_socketpair(3)

NAME
io_socketpair - create a pair of sockets
SYNTAX
#include <io.h> int io_socketpair(int64 pfd[2]);
DESCRIPTION
io_socketpair creates a new UNIX socket pair and writes both descriptors to d. The socket pair works much like a pipe, but it is bidirec- tional (i.e. both descriptors are for reading and writing). io_socketpair returns 1 to indicate success. If something goes wrong, io_socketpair returns 0, setting errno to indicate the error; in this case it frees any memory that it allocated for the new socketpair, and it leaves d alone.
SEE ALSO
io_readfile(3), io_createfile(3), io_pipe(3) io_socketpair(3)
Related Man Pages
socketpair(2) - mojave
io_pipe(3) - debian
socketpair(2) - osf1
socketpair(2) - osx
socketpair(2) - freebsd
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Find columns in a file based on header and print to new file
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections