what is the difference between fork() & exec()
Answer Posted / gopi
fork() is used to creat new process.but execl() is used to load another application....see before going to load new,exexl() try to remove all data about old process..like old-----pid,vad,resourse
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of PF_INET and SOCK_DGRAM?
How to look up a Service by Port and Protocol?
How to Specify the Domain of a Socket?
What is the setservent(3) Function?
How to Understand Network Byte Order?
What are sockets used for?
How to Test the Datagram Client and Server?
How to test socket connection in linux?
How to Compare Sockets to Pipes?
how to get client port number in server socket programming??
What are Reserved IP Numbers?
How to Form Abstract Local Addresses?
How to Understand Netmask Values?
How to Bind a Specific Interface Address?
How to use the PF_LOCAL and AF_LOCAL Macros?