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

fork() creates a child process with most of the attributes
of the parent process. Both parent and child processes are
executed simultaneously.
exec() replaces the current process with a the executable
pointed by the function. Control never returns to the
original program unless there is an exec() error.

Is This Answer Correct ?    89 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sockets in linux?

913


What are Reserved IP Numbers?

1364


What is a socket in linux?

943


Why socket programming is used?

877


What is the Use of the inet_ntoa() Function?

1275


How to Understand Network Byte Order?

1365


How socket is created?

781


How to Manipulate IP Numbers?

1339


What is the use of PF_LOCAL and SOCK_STREAM?

1575


How to Form Local Addresses?

1420


How to Perform Input/Output of Datagrams?

1443


What is the difference between socket & port?

905


How to read socket file in linux?

966


What is the Use of the inet_makeaddr() Function?

1339


Why bind system call is required in socket programming?

825