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
How socket is created?
How to Write a UDP Datagram Client?
What is the Use of the inet_makeaddr() Function?
Are sockets full duplex?
How to Form Local Addresses?
How to Understand Netmask Values?
What is the use of SOCK_DGRAM Socket Type?
What is the use of SOCK_STREAM Socket Type?
What is socket abstraction?
How does socket communication work?
What is the use of inet_network()?
How to Specify an X.25 Address?
How to Form Abstract Local Addresses?
What is the use of PF_LOCAL and SOCK_STREAM?
How to Form Internet (IPv4) Socket Addresses?