Home | History | Annotate | Download | only in tests
      1 #include <unistd.h>
      2 #include "fdleak.h"
      3 
      4 int main (int argc, char **argv)
      5 {
      6    int fds[2];
      7 
      8    CLOSE_INHERITED_FDS;
      9 
     10    DO( pipe(fds) );
     11 
     12    return 0;
     13 }
     14