what is the difference between fork() & exec()
Answer Posted / dheeraj gahtori
processes began through a process called "fork and exec".
that is when one command starts another, the child process
first forks , the kernel copying over pages of memory from
the present process to a new location for the child process.
The child then execs, executing the new command and
overwriting the data
Is This Answer Correct ? | 8 Yes | 17 No |
Post New Answer View All Answers
What is the use of PF_LOCAL and SOCK_STREAM?
How to Deal with Duplicated Sockets?
How to Examin the /etc/services File?
How to Form Traditional Local Addresses?
What are sockets used for?
How to Specify the Domain of a Socket?
Are sockets full duplex?
Can a socket have multiple connections?
Are sockets bidirectional?
How to Form Abstract Local Addresses?
What is the use of inet_addr() Function?
How TCP/IP Handles Sequencing?
How to Test the Datagram Client and Server?
How to Generate Addresses?
What is the Use of the inet_ntoa() Function?