Multiple choice

Which of the following system calls transforms an executable binary file into a process?

  1. fork

  2. exec

  3. ioctl

  4. longjmp

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

fork() creates a new process by duplicating the calling process. The duplicate can then use exec() to replace its memory space with a new program. fork() is the system call that initiates process creation from an executable binary file on disk.