top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

OS: what is difference between system call and api?

+1 vote
4,630 views
OS: what is difference between system call and api?
posted Jun 22, 2014 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

A system call is a function.subroutine which interrupts the currently executing program and transfers control to the interrupt routine.The contents of the executing program are saved and after the interrupt routine finishes its function,control is transferred back to the executing program. If we talk in the context of Linux then System calls are called kernel mode.

Whereas API (Application Programming Interface) is a function or a set of functions, objects, protocols or data-structures for the support of application development for developers/programmers. It is actually a kind of function definition which specifies how to make available of a specific service of the system/OS to the other program/process or system.

answer Jun 22, 2014 by Chahat Sharma
Similar Questions
+2 votes

What is an SDK and what is an API? How both are different then each other?
Can a JDK called an sdk? Why or why not?

Is MYSQL an SDK?

+3 votes

What are the Linux System Calls which can be classified as I/O calls?

...