pipe2.cpp

1
2
3
4
5
#include <fcntl.h>
#include <unistd.h>


int detect_pipe2(int fds[2]) { return ::pipe2(fds, O_NONBLOCK); }