Wait in Operating System
wait()-> Parent process waits until child process completes its execution.
It return the PID of the child process that terminated.
Example1: without wait()
#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<sys/wait.h>
int main(int...
lowlatencycode.hashnode.dev2 min read