Skip to content

Opening book details…

About this document

Understanding exec Functions and Forking in C by Muhammad Tehseen Khan is a document available to read on EtoBox.

The document discusses 4 questions related to systems programming in C: 1. It asks about the utility of different exec functions and their invariants for overlaying the process image. 2. A code sample is given using fork() multiple times. It asks how many lines of output will be produced and child processes created. 3. It asks to write a program that produces 5 child processes and provide evidence of this using ps or top. 4. It asks to write a program using fork() and wait() such that the parent print

Author
Muhammad Tehseen Khan
Language
EN