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 use getservent(3)?
How to Initialize a Wild Internet Address?
How TCP/IP Handles Sequencing?
What is AF_UNSPEC Address?
How to open socket file in linux?
How to Compare Sockets to Pipes?
What is the difference between socket & port?
How to read socket file in linux?
What is the use of SOCK_STREAM Socket Type?
How to Obtaine the Socket Address?
What is the Use of the inet_netof() Function?
What is the use of PF_INET or AF_INET?
How to Choose a Socket Type?
How to Specify the Domain of a Socket?
What is the use of inet_aton() Function?