Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Are udp sockets bidirectional?

823


How to Perform Endian Conversions?

1371


How to Examin the /etc/services File?

1643


What is the use of SOCK_DGRAM Socket Type?

1402


What is AF_UNSPEC Address?

2251


How to perform I/O on Sockets?

1443


What is the use of endprotoent(3) Function

1697


How to Perform Input/Output of Datagrams?

1443


How to use the socket(2) Function?

1520


How TCP/IP Handles Sequencing?

1514


How socket is created?

777


How to Form Internet (IPv4) Socket Addresses?

1503


How to Obtaine the Socket Address?

1446


How does socket communication work?

885


What is the use of PF_INET and SOCK_STREAM?

1328