← BYTES
Operating System·Starter·Ref: 14.1.8
What is a system call?
Have a question about this video? Mention reference 14.1.8 when you contact us.
a.A phone call made by technical support
b.A call that always crashes the program if used incorrectly
c.A function that can only be called by other kernel code, never by applications
d.A controlled, well-defined mechanism by which a user-space program requests a service from the kernel (e.g., reading a file, allocating memory, creating a process)
Since ordinary applications don't have direct access to hardware or kernel-only operations, a system call is the formal, controlled gateway through which they request the kernel perform a privileged action on their behalf -- opening a file, allocating memory, forking a new process -- transitioning the CPU briefly from user mode to kernel mode to do so safely.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES1418#OperatingSystem