#include #include int main(int argc, char *argv[]){ pid_t pid; pid = fork(); if (pid < 0) printf("Error on fork"); else if (pid == 0) printf("Child process. \n"); else printf("Parent process. \n"); return 0; }