System call and advantages of system calls

System call and advantages of system calls

In this tutorial, we will learn about the followings;

System call

Advantages of system call

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 is two kind of modes. The first one is kernel mode and another is user mode. The user can only get the services from the OS and 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()

Please Share This Article with Friends
Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/