I'm trying to study about vfork. when i used vfork, it shows the output as follows.
#include <sys/types.h>
#include <stdio.h>
#include <sys/wait.h>
void main()
{
int pid;
int status;
pid = vfork();
if(pid == 0)
{
printf("\nChild process\n");
}
else
{
printf("\n parent process\n");
}
}
what does this mean?