System Calls | OS Interview | Skill-Lync Resources
Easy Operating Systems Processes & Threads

What is a system call and give examples?

Answer

A system call is the interface between a user program and the operating system kernel, allowing programs to request privileged operations. When invoked, CPU switches from user mode to kernel mode. Categories include: Process control (fork, exec, exit), File management (open, read, write, close), Device management (ioctl), Information (getpid, time), Communication (pipe, socket). System calls provide controlled access to hardware and protected operations.

Master These Concepts with IIT Certification
IIT Certified

Master These Concepts with IIT Certification

175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.

Relevant for Roles

Software Engineer Systems Developer Backend Developer