🖥️System Call
Also known as Syscall, System Calls
A request from a program to the kernel. Open this file, or send this data.
Think of it like
Think of it like a hatch at a bank counter. You pass your note through, and the clerk does the job.
Example
When Emma's script saves a file, it calls write. The kernel puts the bytes on the disk and reports how many it wrote.
Why it matters
Every file, network message and new program goes through system calls. They are the only door from an app to the hardware.
Definition
Common mistake
Key takeaways
- 1The only door. Apps reach hardware only by asking.
- 2Checked first. The kernel decides if the call is allowed.
- 3Usually hidden. Libraries make the calls for you.