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 |
how to configure sendmail server on red hat linux version 4 and what and all we Require?
why the kernel panic error was appering?
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?
How to create secured appeche web sever ?
Port number is already in use .. how to fix for apache..?
what is bus trap.
what is the diff b/w MUTEX and semaphore?
if root user forget the password how to change it?
what is nis server
what are different ways the context switch happens from user to kernel space or vice-versa ?
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
what is iptabe on redhat linux?