1.

System calls and library functions are same.(a) True(b) FalseThis question was addressed to me at a job interview.I'm obligated to ask this question of File Handling System Calls in portion System Programming I – Files of Unix

Answer»

The correct choice is (b) False

Easy EXPLANATION: System calls are built into the kernel, but LIBRARY FUNCTIONS are built on top of them. When a system call is invoked, the pre-processor SWITCHES to kernel mode and returns to the user mode when the call COMPLETES.



Discussion

No Comment Found

Related InterviewSolutions