3 SystemCall(
"socketpair", ::socketpair(AF_UNIX, SOCK_STREAM, 0,
fds.data()));
A reference-counted handle to a file descriptor.
size_t write(const char *str, const bool write_all=true)
Write a string, possibly blocking until all is written.
std::string read(const size_t limit=std::numeric_limits< size_t >::max())
Read up to limit bytes.
A wrapper around Unix-domain stream sockets.
SystemCall("socketpair", ::socketpair(AF_UNIX, SOCK_STREAM, 0, fds.data()))