HomeTechnologyOperating SystemsWhat is System Call?
Technology·2 min·Updated Mar 10, 2026

What is System Call?

System Call

Quick Answer

A system call is a way for programs to request services from the operating system's kernel. It acts as an interface between a running application and the hardware or system resources.

Overview

A system call is a fundamental interface that allows applications to communicate with the operating system. When a program needs to perform tasks like reading a file or accessing network resources, it makes a system call to request these services. This process is crucial because it enables applications to perform complex operations without needing to manage the hardware directly. When a system call is made, the program switches from user mode to kernel mode, which is a more privileged state that allows access to system resources. This transition ensures that the operating system can control and manage access to the hardware, providing a layer of security and stability. For example, when you open a document in a word processor, the application makes a system call to the operating system to read the file from disk. System calls are essential for the functioning of operating systems as they provide the necessary functionality for applications to run effectively. They allow for multitasking, resource management, and communication between different programs. Without system calls, applications would be limited in their capabilities and unable to interact with the underlying hardware efficiently.


Frequently Asked Questions

Common examples of system calls include open, read, write, and close for file operations. Other examples include fork for creating processes and socket for network communication.
System calls can introduce some overhead because switching between user mode and kernel mode takes time. However, they are optimized in modern operating systems to minimize this impact and ensure efficient performance.
Generally, users cannot create their own system calls directly. However, developers can create applications that utilize existing system calls or, in some cases, modify the operating system to add new ones.