System Call

A system call is a mechanism used by an application to request a service from the operating system’s kernel.

Purpose: It allows user-level processes to request services of the kernel, which has privileged access to hardware and system resources.


Examples of system calls

  • Reading or writing files,
  • creating processes,
  • communicating over networks

Major System Calls

  • read()
  • malloc is a system call