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 difference between socket and port?

999


What is the use of SOCK_STREAM Socket Type?

1418


What is the use of recvfrom(2) Function?

1578


How to Test with No Server?

1519


What are the different types of sockets?

948


How to Define a Socket?

1416


What is the difference between socket & port?

954


How to Bind Addresses to a Socket?

1402


How to use the socket(2) Function?

1589


How to Understand Network Byte Order?

1431


What is the use of endservent(3) Function?

1639


Are sockets full duplex?

847


How to Generate Addresses?

1368


What is socket abstraction?

884


How socket is created?

824