Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to give the root permision to users?

3 Answers   Wipro,


what is segmentation fault?

11 Answers   AdTel, NetApp,


What does exec family return?

1 Answers  


what is samba, what is configuration file, how it will work?

3 Answers   Wipro,


how to configure http server on red hat linux4.0?

5 Answers   IBM,


What do fork() internally call?

3 Answers  


if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?

4 Answers   NetApp,


What are the signals we have in Linux

3 Answers   HCL, NetApp,


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


what happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


Explain process management system calls in linux?

0 Answers  


Categories