diff options
| author | Michael Stapelberg <michael@stapelberg.de> | 2010-12-13 14:36:00 +0100 |
|---|---|---|
| committer | Michael Stapelberg <michael@stapelberg.de> | 2010-12-13 14:36:00 +0100 |
| commit | 6af0f110bbd879fe4c49c2ebd64715a6e692e7c0 (patch) | |
| tree | ead882b782c14ac26cf2c335eebba8f523b5b4df /aufgabe4/main.c | |
| parent | dca415e05225bcf11aaba0024217df736a1acc7c (diff) | |
| download | prozesskommunikation-6af0f110bbd879fe4c49c2ebd64715a6e692e7c0.tar.gz prozesskommunikation-6af0f110bbd879fe4c49c2ebd64715a6e692e7c0.tar.bz2 | |
debug-output eingebaut, sofern man mit -DDEBUG kompiliert
Diffstat (limited to 'aufgabe4/main.c')
| -rw-r--r-- | aufgabe4/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aufgabe4/main.c b/aufgabe4/main.c index 3f6edec..979ee4b 100644 --- a/aufgabe4/main.c +++ b/aufgabe4/main.c @@ -61,7 +61,7 @@ pid_t fork_child(funcptr work, funcptr cleanup) { } /* parent process */ - printf("forked\n"); + printf("forked, pid = %d\n", pid); fflush(stdout); return pid; } |
