ExecExecute an executable file | |||||||
Arguments
Return value1 is returned if the function was successful.0 is returned in all other cases. ExplanationAn executable file that has been loaded into memory and which is described by the information contained in the EXEC structure pointed to by exec is executed.argc and argv are passed to the executable program. If exec->s_addr is 0, neither the stack pointer nor the frame pointer is initialized. The operation of Exec() is shown below:
NotesExec() must be executed in a critical section.See AlsoEXEC, Load() |