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 / amit

what is the difference between fork() & exec()?

fork() creates a new child process and subsequently a new
entry in process table is made for the new process.

exec(), if successful, replaces the existing text segnent
of the process with that of new process. and hence, the old
process does not exists in the system any more. i dont
think, any new entry is created in the process table after
successful exec().

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How TCP/IP Handles Lost Packets?

1681


What is the use of endservent(3) Function?

1639


What is the use of PF_INET and SOCK_DGRAM?

1447


What is the use of PF_INET and SOCK_STREAM?

1366


How to Bind Addresses to a Socket?

1405


How to perform I/O on Sockets?

1504


How to read socket file in linux?

1017


Are sockets full duplex?

851


What is the Use of the inet_makeaddr() Function?

1375


What is the use of inet_addr() Function?

1478


What is the use of inet_aton() Function?

1641


How to Close Sockets?

1504


Can you send and receive on the same socket at the same time?

862


What is the setservent(3) Function?

1577


How to Obtaine the Socket Address?

1501