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

Answer Posted / laxman masadi

fork: Create a new process

exec: replace a process's objectcode with contents of file
(executable)

Is This Answer Correct ?    53 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOW TCP/IP Handles Duplicated Packets?

1236


What is socket linux?

484


What is the Use of the inet_netof() Function?

910


How to Define a Socket?

1006


How to Examin the Generic Socket Address?

996






How to Form Local Addresses?

1021


What is the use of PF_LOCAL and SOCK_STREAM?

1205


How TCP/IP Handles Lost Packets?

1250


How to look up a Service by Port and Protocol?

1123


What is the use of recvfrom(2) Function?

988


What are Reserved IP Numbers?

1006


How to Initialize a Wild Internet Address?

1041


What are the Advantages of TCP/IP?

1126


How TCP/IP Handles Flow Control?

1146


How to Form Traditional Local Addresses?

966