This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <unistd.h> /* Symbolic Constants */ | |
| #include <sys/types.h> /* Primitive System Data Types */ | |
| #include <errno.h> /* Errors */ | |
| #include <stdio.h> /* Input/Output */ | |
| #include <sys/wait.h> /* Wait for Process Termination */ | |
| #include <stdlib.h> /* General Utilities */ | |
| int main() | |
| { | |
| pid_t childpid; /* variable to store the child's pid */ |