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 Understand Netmask Values?

1252


How to Perform Input/Output of Datagrams?

1372


What are Reserved IP Numbers?

1318


How socket is created?

729


What is a socket in linux?

875


What is the use of endservent(3) Function?

1523


What is the Use of the inet_netof() Function?

1202


How to Write a UDP Datagram Server?

1257


how to get client port number in server socket programming??

2311


How TCP/IP Handles Sequencing?

1457


HOW TCP/IP Handles Duplicated Packets?

1565


How to perform I/O on Sockets?

1376


How does socket communication work?

820


Why bind system call is required in socket programming?

771


How TCP/IP Handles Flow Control?

1536