Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 40
hp e3000
programming
and posix
process management - fork() - 2
Compile & link sample program
shell/iX> gcc -o forkt forkt.c
Program & user must have PH capability
gcc link adds PH capability by default to program
Run sample program
shell/iX> forkt
child: here
parent: here