1 #include <sys/socket.h> 2 #include <unistd.h> 3 #include "fdleak.h" 4 #include <sys/errno.h> 5 6 int main (int argc, char **argv) 7 { 8 int fds[2]; 9 10 CLOSE_INHERITED_FDS; 11 12 DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); 13 14 return 0; 15 } 16