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