blob: c2524eef2b157b90e43ae1a7c171a420d9b79945 [file] [log] [blame]
rjwalshf5f536f2003-11-17 17:45:00 +00001#include <sys/socket.h>
nethercoted8d54902003-12-04 16:12:21 +00002#include <unistd.h>
bartfbce73d2008-05-27 12:33:29 +00003#include "fdleak.h"
4
rjwalshf5f536f2003-11-17 17:45:00 +00005int
6main (int argc, char **argv)
7{
8 int fds[2];
9
rjwalshf5f536f2003-11-17 17:45:00 +000010
bartfbce73d2008-05-27 12:33:29 +000011
12
13 CLOSE_INHERITED_FDS;
rjwalshf5f536f2003-11-17 17:45:00 +000014
15 socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, fds);
16 return 0;
17}