#include <unistd.h>
#include <iostream>
using namespace std;

int main () {
pid_t pid=fork();
if (pid==0) {
 cout<<"child exiting \n";
  _exit(0);
 } else {
 sleep(1000);
 }
 return 0;
 }
