what is the difference between fork() & exec()
Answer Posted / anand
fork() created a newly independent process that has it's own
space in memory and also has own permission depends upon
what you assign
Using exec() the created process is a sub thread of calling
process. They also share area in memory and so that also
share all permission and resources.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How does socket communication work?
What is socket connection?
What is the setservent(3) Function?
How to Test with Other IP Numbers?
How to Define a Socket?
HOW TCP/IP Handles Duplicated Packets?
Can you send and receive on the same socket at the same time?
How to Form Local Addresses?
How to use the socket(2) Function?
How to Choose a Socket Type?
How to perform I/O on Sockets?
What is the use getservent(3)?
How to Generate Addresses?
How to Understand Network Byte Order?
How to Examin the /etc/services File?