System Call
- It is a programmatic method in which a computer program requests a service from the kernel of the OS.
Types
-
Process Control:
-
This system calls perform the task of process creation, process termination, etc.
-
File Management:
-
File management system calls handle file manipulation jobs like creating a file, reading, and writing, etc.
-
Device Management:
-
Device management does the job of device manipulation like reading from device buffers, writing into device buffers, etc.
-
Information Maintenance:
-
It handles information and its transfer between the OS and the user program.
-
Communications:
- These types of system calls are specially used for interprocess communications.
Important System Calls Used in OS
- wait()
- fork()
- exec()
- kill()
- exit()