PR422261 platform selection fails for unqualified client name
[valgrind.git] / none / tests / fdleak_socketpair.c
blob19c07750393449dacab501fb3144e5dd32498ca7
1 #include <sys/socket.h>
2 #include <unistd.h>
3 #include "fdleak.h"
4 #include <sys/errno.h>
6 int main (int argc, char **argv)
8 int fds[2];
10 CLOSE_INHERITED_FDS;
12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) );
14 return 0;