what is the difference between fork() & exec()
Answer Posted / nitin
fork() creates a child process with most of the attributes
of the parent process. Both parent and child processes are
executed simultaneously.
exec() replaces the current process with a the executable
pointed by the function. Control never returns to the
original program unless there is an exec() error.
Is This Answer Correct ? | 89 Yes | 6 No |
Post New Answer View All Answers
Why socket programming is used?
How to Initialize a Wild Internet Address?
How to Deal with Duplicated Sockets?
How TCP/IP Handles Flow Control?
What is the use getservent(3)?
What is the use of setprotoent(3) Function?
How to Choose a Socket Type?
What is AF_UNSPEC Address?
Can you send and receive on the same socket at the same time?
How to test socket connection in linux?
How socket is created?
What are Anonymous Calls?
How to Examin the Generic Socket Address?
What is a socket in linux?
What is socket linux?