what is the difference between fork() & exec()
Answer Posted / amit
what is the difference between fork() & exec()?
fork() creates a new child process and subsequently a new
entry in process table is made for the new process.
exec(), if successful, replaces the existing text segnent
of the process with that of new process. and hence, the old
process does not exists in the system any more. i dont
think, any new entry is created in the process table after
successful exec().
Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
How to Understand Network Byte Order?
How to Initialize a Wild Internet Address?
What is the Use of the inet_makeaddr() Function?
How to Perform Input/Output of Datagrams?
How to Test with Other IP Numbers?
How to Specify the Domain of a Socket?
Can you send and receive on the same socket at the same time?
Are sockets bidirectional?
How to Form Abstract Local Addresses?
What is the use getservent(3)?
What are sockets in linux?
How to Test with No Server?
What does socket consist of?
How to Obtaine the Socket Address?
How to Define a Socket?