System call and advantages of system calls

Download This Tutorial in PDF

System call and advantages of system calls

Advantages of system calls

The system call is a technique of calling the system in such a way that computer program requests a service from the kernel of the operating system. The system can only provide the services if we call the system with a system call.

There are two kinds of modes. The first one is kernel mode and another is user mode. The user can only get the services from the OS and the user is able to send the commands to the kernel mode. User from the user-mode sends systems calls to the kernel mode.

Examples of system calls

System calls in windows and linux

System callsUnixWindows
Device ManipulationsIoctl()

Write()

Read()

ReadConsole()

WriteConsole()

SetConsoleMode()

Process ControlWait()

Fork()

Exit()

ExitProcess()

CreatProcess()

Wait for single object()

File ManipulationsRead()

Write()

Open()

Cloase()

ReadFile()

WriteFile()

CreateFile()

Subscribe for Friendship

Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)

    Buy advertisement space on T4Tutorials

    For more details email [email protected]