what is the difference between fork() & exec()
Answer Posted / nitin
fork() creates a child process with most of the attributes
of the parent process. Both parent and child processes are
executed simultaneously.
exec() replaces the current process with a the executable
pointed by the function. Control never returns to the
original program unless there is an exec() error.
Is This Answer Correct ? | 89 Yes | 6 No |
Post New Answer View All Answers
What is the use of SOCK_STREAM Socket Type?
What is the use getservent(3)?
What does socket consist of?
How to Understand Network Byte Order?
How to Generate Addresses?
How does socket communication work?
How to Specify an X.25 Address?
How to Obtaine the Socket Address?
What is socket connection?
How TCP/IP Handles Sequencing?
What are Anonymous Calls?
What is the use of inet_addr() Function?
What is the use of PF_INET and SOCK_DGRAM?
What is the Use of the inet_netof() Function?
What are Nameless Sockets?