To use the functions which are provided by an Operating System we use system calls, in other words we can say system calls provides an interface to the services provided by an operating system.
Types of System Call
windows unix
Process Control CreateProcess() fork()
ExitProcess() exit()
WaitForSingleObject() wait()
File CreateFile() open()
Manipulation ReadFile() read()
WriteFile() write()
CloseHandle() close()
Device SetConsolMode() ioctl()
Manipulation ReadConsole() read()
WriteConsole() write()
Information GetCurrentProcessID() getpid()
Maintaince SetTimer() alarm()
Sleep() sleep()
Communication CreatePipe() pipe()
CreateFileMapping() shmget()
MapViewOfFile() mmap()
Proctection SetFileSecurity() chmod()
InitializeSecurityDescriptor() umask()
SetSecurityDescriptorGroup() chown()
source : operating system concepts by Galvin.
These are some system calls which is generally provided by an OS for the programmers.
windows unix
Process Control CreateProcess() fork()
ExitProcess() exit()
WaitForSingleObject() wait()
File CreateFile() open()
Manipulation ReadFile() read()
WriteFile() write()
CloseHandle() close()
Device SetConsolMode() ioctl()
Manipulation ReadConsole() read()
WriteConsole() write()
Information GetCurrentProcessID() getpid()
Maintaince SetTimer() alarm()
Sleep() sleep()
Communication CreatePipe() pipe()
CreateFileMapping() shmget()
MapViewOfFile() mmap()
Proctection SetFileSecurity() chmod()
InitializeSecurityDescriptor() umask()
SetSecurityDescriptorGroup() chown()
source : operating system concepts by Galvin.
These are some system calls which is generally provided by an OS for the programmers.
0 comments:
Post a Comment