1.

If a thread invokes the exec system call ____________(a) only the exec executes as a separate process(b) the program specified in the parameter to exec will replace the entire process(c) the exec is ignored as it is invoked by a thread(d) none of the mentionedThe question was posed to me during an interview.The doubt is from The Fork and exec System Calls topic in section The Linux System of Operating System

Answer» CORRECT answer is (b) the program SPECIFIED in the PARAMETER to exec will REPLACE the entire process

Easiest EXPLANATION - None.


Discussion

No Comment Found

Related InterviewSolutions