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 are sockets in linux?
What is the use of SOCK_STREAM Socket Type?
What is Internet Address Classes?
How TCP/IP Handles Lost Packets?
How to Bind a Specific Interface Address?
What does socket consist of?
How to Test the Datagram Client and Server?
Why socket programming is used?
How to Choose a Socket Type?
How to Form Traditional Local Addresses?
How to Deal with Duplicated Sockets?
How to Form Local Addresses?
How to Form Abstract Local Addresses?
What is the use of inet_network()?
What is socket linux?