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

How to Manipulate IP Numbers?

1061


What is the Use of the inet_netof() Function?

968


What are the Advantages of TCP/IP?

1215


How to Write a UDP Datagram Client?

1025


What are Anonymous Calls?

1075






How to Understand Network Byte Order?

1110


What are Address Conversion Functions?

1056


What is the Use of the inet_makeaddr() Function?

1054


What does socket consist of?

539


What is socket abstraction?

576


What are the best linux system programming interview questions you've ever asked or been asked?

542


How to open socket file in linux?

590


What are Reserved IP Numbers?

1085


How to Perform Endian Conversions?

1057


What are Nameless Sockets?

1201