1 #include <fcntl.h>
2 #include <unistd.h>
3 #include "fdleak.h"
4 
5 int main (int argc, char **argv)
6 {
7    CLOSE_INHERITED_FDS;
8 
9    (void) DO( open("/dev/null", O_RDONLY) );
10 
11    return 0;
12 }
13