Question: what is the difference between system call and api?
Answer: The main difference between API and system call is that API is a set of protocols, routines, and, functions that allow the exchange of data among various applications and devices while a system call is a method that allows a program to request services from the kernel.