# System Call

> A request from a program to the kernel. Open this file, or send this data.

**Field:** Software Development  
**Category:** Platforms & OS  
**Also known as:** Syscall, System Calls

## 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.

## Definition

A system call is how a program asks the kernel to do something. A program cannot open a file or use the network by itself. It makes a system call, like open, read or write. The kernel checks if the program is allowed. Then it does the work and hands back the result. Most programs make these calls through a library, not by hand.

## 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.

## Common mistake

Thinking print or save talks straight to the disk. They end up as system calls that the kernel carries out.

## Three principles

- **The only door.** Apps reach hardware only by asking.
- **Checked first.** The kernel decides if the call is allowed.
- **Usually hidden.** Libraries make the calls for you.

## Related terms

- [Kernel](https://learn.benibix.com/term/development/kernel)
- [Operating System (OS)](https://learn.benibix.com/term/development/operating-system)
- [Process](https://learn.benibix.com/term/development/process)
- [Software Library](https://learn.benibix.com/term/development/library)
- [File System](https://learn.benibix.com/term/development/file-system)

## Taught in

- [System Calls and Drivers](https://learn.benibix.com/learn/development-platforms/system-calls-and-drivers): OS and Files, 2/10

![Three rows. On top, three apps: a web browser, a game and a code editor. Arrows marked system calls run down into the operating system, which holds the kernel and, under it, a disk driver, a screen driver and a Wi-Fi driver. Arrows run from each driver down to its piece of hardware: the disk, the screen and the Wi-Fi chip.](https://learn.benibix.com/diagrams/dev-os-layers.svg)

---

Source: https://learn.benibix.com/term/development/system-call
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
