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
Are udp sockets bidirectional?
How to Perform Endian Conversions?
How to Examin the /etc/services File?
What is the use of SOCK_DGRAM Socket Type?
What is AF_UNSPEC Address?
How to perform I/O on Sockets?
What is the use of endprotoent(3) Function
How to Perform Input/Output of Datagrams?
How to use the socket(2) Function?
How TCP/IP Handles Sequencing?
How socket is created?
How to Form Internet (IPv4) Socket Addresses?
How to Obtaine the Socket Address?
How does socket communication work?
What is the use of PF_INET and SOCK_STREAM?