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

What is the setservent(3) Function?

1510


What is socket connection?

846


What is the use of endservent(3) Function?

1585


What are Anonymous Calls?

1346


What is the use of SOCK_STREAM Socket Type?

1371


How to Obtaine the Socket Address?

1435


How does socket communication work?

870


What is Internet Address Classes?

1375


How to Write a UDP Datagram Client?

1382


How to Perform Input/Output of Datagrams?

1442


How to look up a Service by Port and Protocol?

1515


What is the use of PF_INET and SOCK_DGRAM?

1401


Why socket programming is used?

869


What are sockets used for?

808


HOW TCP/IP Handles Duplicated Packets?

1609