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 create secured appeche web sever ?

1 Answers   HCL,


how to configure ftp server on redhat linux?

9 Answers   Infosys,


what is iptabe on redhat linux?

3 Answers   CDAC,


what is stored at /lib/modules ?

2 Answers   NetApp,


what is bus trap.

1 Answers   NetApp,






1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,


what kind of information the linux driver modules (.ko ) files has ?

2 Answers   NetApp,


Port number is already in use .. how to fix for apache..?

1 Answers   Google,


if root user forget the password how to change it?

4 Answers   Wipro,


what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?

2 Answers   NetApp,


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

4 Answers   Wipro,


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

2 Answers  


Categories