System Call
PronunciationSIS-tum KAWL
Definition
A system call is how a program asks the operating system kernel to do something it can't do itself, such as reading a file, opening a network connection or starting a process.
Where you hear it
In OS courses, performance tuning (strace), container security (seccomp) and low-level debugging.
Examples
open()in Python ends up as anopensystem call.Too many small writes mean too many system calls.
Reading the file needs a system call, so the kernel checks the permissions first.
Common mistake
Forgetting that every system call has a cost. Batching reads and writes is often much faster.
Don't confuse with
A normal function call, which stays inside your program and is cheap.
Say it at work
- In a meeting or chat
Trace the syscalls with strace.
- In an email or ticket
Buffer the output to cut down on system calls.
Keep exploring
More in Programming Fundamentals