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
How to Define a Socket?
What is socket file in linux?
How to Initialize a Wild Internet Address?
What is the difference between socket & port?
How to Perform Input/Output of Datagrams?
What is socket abstraction?
How to test socket connection in linux?
What are sockets in linux?
How to Test with Other IP Numbers?
Are sockets full duplex?
How to Examin the Generic Socket Address?
How to Understand Netmask Values?
How do udp sockets work?
How to Bind Addresses to a Socket?
How to Compare Sockets to Pipes?