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 PF_INET and SOCK_STREAM?

994


How to Specify the Domain of a Socket?

1041


How to Test the Datagram Client and Server?

971


How to Examin the /etc/services File?

1181


What is socket abstraction?

481






Are udp sockets bidirectional?

476


What is socket file in linux?

495


How to perform I/O on Sockets?

906


How to Compare Sockets to Pipes?

967


How to Form Abstract Local Addresses?

988


How to Close Sockets?

1028


How to Write a UDP Datagram Client?

949


How to Define a Socket?

989


What are Private IP Numbers?

888


What does socket consist of?

454