what is the difference between fork() & exec()
Answer Posted / dheeraj gahtori
processes began through a process called "fork and exec".
that is when one command starts another, the child process
first forks , the kernel copying over pages of memory from
the present process to a new location for the child process.
The child then execs, executing the new command and
overwriting the data
| Is This Answer Correct ? | 8 Yes | 17 No |
Post New Answer View All Answers
What is a socket in linux?
What are sockets in linux?
How to Bind Addresses to a Socket?
How to Reply to a Wild Address?
How to Generate Addresses?
Why bind system call is required in socket programming?
What is the use of setprotoent(3) Function?
What does socket consist of?
How socket is created?
What is the use of inet_aton() Function?
What is the use of inet_addr() Function?
What is the Use of the inet_netof() Function?
What is the use of recvfrom(2) Function?
What are the different types of sockets?
How to Deal with Duplicated Sockets?