Programming and posix - April 2002
April 3, 2002
Solution Symposium
Page 41
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