projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial creation of sourceware repository
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.hp
/
foll-vfork.c
1
#include <stdio.h>
2
3
main
()
4
{
5
int
pid
;
6
7
pid
=
vfork
();
8
if
(
pid
==
0
) {
9
printf
(
"I'm the child!
\n
"
);
10
execlp
(
"gdb.hp/vforked-program"
,
"gdb.hp/vforked-program"
, (
char
*)
0
);
11
}
12
else
{
13
printf
(
"I'm the proud parent of child #%d!
\n
"
,
pid
);
14
}
15
}
This page took
0.041818 seconds
and
4
git commands to generate.