Finally, The exec() System Call

This lesson demonstrates and describes an example of the `exec()` system call.

We'll cover the following...

A final and important piece of the process creation API is the exec() system call.

Running p3.c

This system call is useful when you want to run a program that is different from the calling program. For example, calling fork() in p2.c is only useful if you want to keep running copies of the same in the program. However, often you want to run a different program; exec() does just that (see the ...

Access this course and 1400+ top-rated courses and projects.