what is the difference between fork() & exec()

Answer Posted / gopi

fork() is used to creat new process.but execl() is used to load another application....see before going to load new,exexl() try to remove all data about old process..like old-----pid,vad,resourse

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of setprotoent(3) Function?

1149


How to Test with No Server?

1101


What is the use getservent(3)?

1148


Why socket programming is used?

488


How to Test the Datagram Client and Server?

976






How to Define a Socket?

1006


What is the use of inet_network()?

999


What are Address Conversion Functions?

958


How to Allocate IP Addresses?

1135


How to Form Traditional Local Addresses?

966


What is the use of PF_INET or AF_INET?

1106


How to Understand Netmask Values?

957


Are udp sockets bidirectional?

486


What are Private IP Numbers?

896


How to Examin the /etc/services File?

1194