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 to Examin the /etc/services File?

1181


How to Bind a Specific Interface Address?

988


How to Reply to a Wild Address?

1204


What is the use of endprotoent(3) Function

1334


What is the use of SOCK_STREAM Socket Type?

1019






What does socket consist of?

454


What is the use of inet_network()?

987


Why socket programming is used?

482


How to Initialize a Wild Internet Address?

1032


How to Write a UDP Datagram Server?

936


How to open socket file in linux?

491


What is a socket in linux?

504


How to Perform Endian Conversions?

952


How to perform I/O on Sockets?

906


How to Test with Other IP Numbers?

1070