io_socketpair man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

io_socketpair(3)					      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 descrip‐
       tors 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)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net