sys/type.h header file does not worked
Hello
Look the following program
#include<sys/type.h>
#include<stdio.h>
#include<unistd.h>
int main()
{
pid_t pid;
pid = fork();
printf("Process identification number is = %d\n",pid);
}
after compilation as follow
gcc fork01.c
it will generate the following error
fork01.c:1: fatal error: sys/type.h: No such file or directory
compilation terminated.
Can any one help me, since I am new in this field.
Thank you in advance
|