Question: IN C , develop a Timer program that will use fork, exec, and pipe system calls . Timer should run a specified program with its
IN C,
develop a Timer program that will use fork, exec, and pipe system calls.
Timer should run a specified program with its arguments and then print out the amount of time (in seconds) the program needed to execute (use the time() function). For example, timer ls -l /bin would run the command ls and pass the arguments -l and /bin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
