[−][src]Function linux::syscall::socketpair
pub fn socketpair(
domain: c_int,
ty: c_int,
proto: c_int,
sv: &mut [c_int; 2]
) -> c_int
Creates a pair of connected sockets.
[argument, domain] The domain of the sockets.
[argument, ty] The type of the sockets.
[argument, proto] The protocol of the sockets.
[argument, sv] The place where the sockets will be stored.
[return_value] Returns success or an error value.
= See also
- link:man:socketpair(2)