Table of Contents
The
call creates an unnamed pair of connected sockets in the specified domain
of the specified and using the optionally specified The descriptors
used in referencing the new sockets are returned in and The two sockets
are indistinguishable.
A 0 is returned if the call succeeds,
-1 if it fails.
The call succeeds unless: Too many descriptors are
in use by this process. The specified address family is not supported on
this machine. The specified protocol is not supported on this machine.
The specified protocol does not support creation of socket pairs. The address
does not specify a valid part of the process address space.
This call is currently implemented only for the domain.
The
function call appeared in
Table of Contents