System Call Interface
Kernel supplies well-defined system call interface
- Applications set up syscall arguments and trap to kernel
- Kernel performs operation and returns result
Higher-level functions that programmers use are built on this interface printf
,scanf
,gets
, etc.
Example
- Used by Linux and Unix
open
,close
,read
,write
, …
- Example with C standard library