0% found this document useful (0 votes)
2 views6 pages

System Calls

System calls serve as the interface between user programs and the operating system, allowing programs to request OS services for tasks like file operations and process control. There are five main types of system calls: File Management, Device Management, Process Control, Communications, and Information Maintenance. The document also outlines the system boot process, which initializes hardware and loads the OS upon powering on the computer.

Uploaded by

avatharmanohar78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

System Calls

System calls serve as the interface between user programs and the operating system, allowing programs to request OS services for tasks like file operations and process control. There are five main types of system calls: File Management, Device Management, Process Control, Communications, and Information Maintenance. The document also outlines the system boot process, which initializes hardware and loads the OS upon powering on the computer.

Uploaded by

avatharmanohar78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

System Calls

System calls
• Interface between a program running in user space and the
operating system (OS).
• Acts like a request to the operating system (OS) from a program or
software for performing tasks reserved for the OS.
• Tasks can be file operations, process control, to communication
services and management of hardware devices.
• Way in which how program talks to OS.
• protective boundaries are set by the OS to ensure that user programs
don't directly access sensitive system resources.
Working of a System call
Types of System Calls in OS
For any type of access, there are mainly 5 types of system calls in os :
• File Management - system call that is used to handle the tasks related to files, such as the creation,
deletion, writing, reading, releasing, etc.
• Open(), Read(), Write(), Close()
• Device Management - system call that is used to handle the tasks related to devices such as
requesting the device, releasing the device, reading the device, logically attaching, and detaching
the device.
• ioctl(), read(), write()
• Process Control - system call that is used to deal with the processes, such as the creation of process,
deletion, execution, abortion of process, the wait signals for the process, etc.
• Fork() ,Exit(), Wait()
• Communications - system call that is used for communicating in between the processes, such as
sending or receiving messages, creation and deletion of the communication connections, etc.
• Pipe(), Shmget(), Mmap()
• Information Maintenance - Information maintenance is a type of system call that is used for
maintaining the information of the system such as setting up the date and time in the system.
• Getpid(), Alarm(), Sleep()
System boot Process
• Process that initializes a computers hardware and loads the OS when
the system is powered on.
• Power ON
• CPU loads BIOS / UEFI
• System Performs POST
• BIOS locates and loads the boot loader .
• Loads the OS kernel into memory.

You might also like