Question: There's a process P 1 running with the following code snippet in it: . . . execve ( newprog , argarray, envarray )

There's a process P1 running with the following code snippet in it:
...
execve("newprog", argarray, envarray);
write(1, "Hello!", 6);
...
Asssuming all the parameters to execve are correct and execve succeeds, will "Hello!" ever be written to the terminal?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!