Which of the following C library functions do NOT directly correspond to…

Which of the following C library functions do NOT directly correspond to (similarly named) system calls? That is, the implementations of which of these C library functions are NOT straightforward invocations of the underlying system call?

  1. A.

    system, which executes a bash shell command.

  2. B.

     fork, which creates a new child process.

  3. C.

     exit, which terminates the current process.

  4. D.

     strlen, which returns the length of a string.

Attempted by 48 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…