mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
cachegrind callgrind dhat exp-bbv gdbserver_tests massif none mpi shared Mostly these are just updates (and new testcases) under new/tests The other directories have just #ifdef changes
17 lines
269 B
C
17 lines
269 B
C
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <unistd.h>
|
|
#include "fdleak.h"
|
|
#include <sys/errno.h>
|
|
|
|
int main (int argc, char **argv)
|
|
{
|
|
int fds[2];
|
|
|
|
CLOSE_INHERITED_FDS;
|
|
|
|
(void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) );
|
|
|
|
return 0;
|
|
}
|