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 / antony.t

fork() will create a new process and its a system call API its return values are- if fork created new process(child process), its pid will be returned, if it failed to create returns -1.

exec() is also a system call API but this will load a application, if exec() succeeds it will not return anything but 'll return -1 if it gets failed to load application...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Advantages of TCP/IP?

1642


How to Specify an X.25 Address?

1570


What does socket consist of?

875


How to Form Local Addresses?

1489


Why socket programming is used?

922


How to Test the Datagram Client and Server?

1498


How to Compare Sockets to Pipes?

1410


How to Deal with Duplicated Sockets?

1559


What are Address Conversion Functions?

1583


What are Anonymous Calls?

1396


How to Form Traditional Local Addresses?

1443


How to Perform Input/Output of Datagrams?

1504


How to Manipulate IP Numbers?

1380


How to Perform Endian Conversions?

1419


What is the difference between socket and port?

1000