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 use of endprotoent(3) Function

1638


What is Internet Address Classes?

1329


What are Address Conversion Functions?

1407


What is socket file in linux?

885


What is AF_UNSPEC Address?

2209


How to Write a UDP Datagram Server?

1256


How to use the socket(2) Function?

1435


How to Understand Netmask Values?

1252


What is the use of PF_LOCAL and SOCK_STREAM?

1518


What are Nameless Sockets?

1481


How to Choose a Socket Type?

1237


How to open socket file in linux?

941


What are the best linux system programming interview questions you've ever asked or been asked?

733


What is the Use of the inet_ntoa() Function?

1220


How to Manipulate IP Numbers?

1282