Write down different system calls for performing different kinds of tasks.


A system call is a request made by any program to the operating system for performing tasks -- picked from a predefined set -- which the said program does not have required permissions to execute in its own flow of execution. System calls provide the interface between a process and the operating system. Most operations interacting with the system require permissions not available to a user level process, e.g. I/O performed with a device present on the system or any form of communication with other processes requires the use of system calls.
The main types of system calls are as follows:
Process Control: These types of system calls are used to control the processes. Some examples are end, abort, load, execute, create process, terminate process etc.

File Management: These types of system calls are used to manage files. Some examples are Create file, delete file, open, close, read, write etc.

Device Management: These types of system calls are used to manage devices. Some examples are Request device, release device, read, write, get device attributes etc.

0 comments:

Feel free to contact the admin for any suggestions and help.