Implement socketpair(domain, type, protocol, fds[]) in POSIX and LibC.