what is the difference between user APIs and kernel system
calls ?



what is the difference between user APIs and kernel system calls ?..

Answer / noor alam

Application Programming Interface (API) is a set of
functions, objects, protocols or datastructures 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. The API's are available
from library or from Operating system itself. Whenever a
programmer need a specific service from OS, he/she can use
appropriate API to do that.

Processes in a system are run in different modes, process
run in user mode have no access to the privileged
instructions. If they want perform any privileged
instructions or need of any services they request kernal for
that service through System Calls. System calls are made by
way of software interrupt. This is actually a request for
the service whereas API is a function description that can
be used by the programmer for his programs, its like a tool
used to obtain a specific task in his programs.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More Linux System Calls Interview Questions

linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


if root user forget the password how to change it?

4 Answers   Wipro,


How to give the root permision to users?

3 Answers   Wipro,


How to get microseconds of system time from Redhat Linux 4.0

2 Answers  






what is the diff b/w MUTEX and semaphore?

12 Answers   Sony, TCS,


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


What are system calls used for process management in linux?

0 Answers  


What is the use of proc structure?

2 Answers   NetApp,


how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


What do fork() internally call?

3 Answers  


Categories