Wednesday, 25 March 2015

API vs system calls


API-application programming interface:
API exist at the user as well as kernel level .
API at user level often call internal system calls to implement their execution.
The kernel API is for programming inside the kernel, e.g. for writing drivers, or for providing new system calls.


System call - is how a program requests services from the operating system at the kernel level .System calls are written at kernel level like write,open etc.

No comments:

Post a Comment