Sign in
eclipse
/
linuxtools
/
org.eclipse.linuxtools
/
master
/
.
/
valgrind
/
org.eclipse.linuxtools.valgrind.memcheck.tests
/
resources
/
multiProcTest
/
parent.c
blob: 2f60eb5db7b691b301c2910be6fb004dad900745 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
#define
SIZE
10
int
main
()
{
if
(
fork
())
{
char
*
waste
=
(
char
*)
malloc
(
sizeof
(
char
)
*
SIZE
);
}
else
{
execv
(
"../basicTest/Debug/basicTest"
,
NULL
);
perror
(
"execv"
);
}
return
0
;
}