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 setservent(3) Function?
What is socket connection?
What is the use of endservent(3) Function?
What are Anonymous Calls?
What is the use of SOCK_STREAM Socket Type?
How to Obtaine the Socket Address?
How does socket communication work?
What is Internet Address Classes?
How to Write a UDP Datagram Client?
How to Perform Input/Output of Datagrams?
How to look up a Service by Port and Protocol?
What is the use of PF_INET and SOCK_DGRAM?
Why socket programming is used?
What are sockets used for?
HOW TCP/IP Handles Duplicated Packets?