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
What is the difference between socket and port?
What is the use of SOCK_STREAM Socket Type?
What is the use of recvfrom(2) Function?
How to Test with No Server?
What are the different types of sockets?
How to Define a Socket?
What is the difference between socket & port?
How to Bind Addresses to a Socket?
How to use the socket(2) Function?
How to Understand Network Byte Order?
What is the use of endservent(3) Function?
Are sockets full duplex?
How to Generate Addresses?
What is socket abstraction?
How socket is created?