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 socket linux?
What is the use of SOCK_STREAM Socket Type?
How to Define a Socket?
What is the use of endservent(3) Function?
How to Form Internet (IPv4) Socket Addresses?
What is the use of recvfrom(2) Function?
Can you send and receive on the same socket at the same time?
How to Specify the Domain of a Socket?
What are Private IP Numbers?
What is the use of inet_network()?
What are sockets used for?
What is the Use of the inet_netof() Function?
how to get client port number in server socket programming??
How socket is created?
What is the Use of the inet_ntoa() Function?