--%>

Purpose of exec functions

Specify the purpose of exec functions?

E

Expert

Verified

Whenever a process calls one of the exec functions, that particular process is fully replaced through the new program. New program starts its execution from the main function. The processed does not alters across an exec since a new process is not created. However, this function substitutes the current process with the new program from the disk.

   Related Questions in Programming Languages