#include "myhdr.h" main () { int pid; printf ("just one process so far \n"); pid = fork(); if (pid == 0) { printf ("I am the child \n"); printf ("Child pid is :%d \n", getpid()); } else if (pid > 0) { printf ("I am the parent \n"); printf ("My pid is: %d \n", getpid()); } else printf ("fork failed \n");}