Linux System Calls Question:
Download Questions PDF

What does exec family return?

Answer:

When successful exec will not return, it will start
executing the new program
However if there is an- error exec returns -1 and sets the
errno to the appropriate value

Download Linux System Calls Interview Questions And Answers PDF

Previous QuestionNext Question
What is difference between spinlock, seamaphores and mutex and where to use it?What do fork() internally call?