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

What is the use of inet_network()?

1061


How to Form Traditional Local Addresses?

1015


What is the use of setprotoent(3) Function?

1210


What is the use getservent(3)?

1212


How to test socket connection in linux?

560






Are sockets bidirectional?

509


How TCP/IP Handles Lost Packets?

1321


What is socket connection?

548


How socket is created?

532


How TCP/IP Handles Sequencing?

1216


What are Anonymous Calls?

1066


Are sockets full duplex?

553


How to Write a UDP Datagram Server?

1012


What is the setservent(3) Function?

1226


How to Deal with Duplicated Sockets?

1225