#include #include int main() { int pid = fork(); printf( "PID is %d\n", pid ); if ( pid == 0 ) printf( "I'm the child\n" ); else printf( "I'm the parent\n" ); }