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 do udp sockets work?
How to open socket file in linux?
Are sockets bidirectional?
What are Anonymous Calls?
What is the use of inet_addr() Function?
How to use the PF_LOCAL and AF_LOCAL Macros?
How to Examin the /etc/services File?
What is the use getservent(3)?
How to Initialize a Wild Internet Address?
What is socket abstraction?
What are the Advantages of TCP/IP?
What is socket connection?
What is the difference between socket and port?
How to Write a UDP Datagram Server?
Why bind system call is required in socket programming?