Qualcomm Interview Question
Software Engineer / DevelopersThe above answer is not a convincing one.
System calls look like simple function calls. But, they call routines which run in the kernel space ( called Interrupt Service Routines ) and the functionality provided would be mostly related to hardware. So we can think system calls are a way in which OS provides way to talk to hardware.
The above answer is not a convincing one.
System calls look like simple function calls. But, they call routines which run in the kernel space ( called Interrupt Service Routines ) and the functionality provided would be mostly related to hardware. So we can think system calls are a way in which OS provides way to talk to hardware.
System calls -> User space applications request for kernel services.
Whenever there is a system call like open, read, close etc, with the help of system libraries the user application jumps to fixed location in kernel space by raising an interrupt (0x80 architecture dependent), where it can find what system call it is and etc
System call is nothing but OS call. To raise any service of kernel, then u need this system call. that is why sysstem calls are different from OS to OS.
- Lakshman Rao February 18, 2009