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

How to Compare Sockets to Pipes?

1407


What is the use of endprotoent(3) Function

1744


What is the use of setprotoent(3) Function?

1626


How TCP/IP Handles Lost Packets?

1678


What are Nameless Sockets?

1614


HOW TCP/IP Handles Duplicated Packets?

1657


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

860


Are sockets full duplex?

850


What is socket file in linux?

1006


What is the use getservent(3)?

1571


What is Internet Address Classes?

1417


What is the Use of the inet_ntoa() Function?

1325


How to Write a UDP Datagram Server?

1356


How TCP/IP Handles Sequencing?

1561


What is the use of endservent(3) Function?

1639