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
Why bind system call is required in socket programming?
What is the use of inet_network()?
How TCP/IP Handles Sequencing?
Are udp sockets bidirectional?
What is the use of SOCK_DGRAM Socket Type?
What are Nameless Sockets?
How to Examin the /etc/services File?
What is the use of endprotoent(3) Function
What is the Use of the inet_netof() Function?
Are sockets bidirectional?
What are Reserved IP Numbers?
How to Understand Netmask Values?
How to Form Internet (IPv4) Socket Addresses?
How to Form Abstract Local Addresses?
How to use the socket(2) Function?