The difference between operating systems

Windows has a series of different system calls that cover all the kernel operations. Many of these correspond exactly with the Unix equivalent. Here's a list of some of the overlapping system calls:

Windows

Unix

Process control

CreateProcess()
ExitProcess()
WaitForSingleObject()

fork()
exit()
wait()

File manipulation CreateFile()
ReadFile()
WriteFile()
CloseHandle()

open()
read()
write()
close()

File protection SetFileSecurity()
InitializeSecurityDescriptor()
SetSecurityDescriptorGroup()

chmod()
umask()
chown()

Device management SetConsoleMode()
ReadConsole()
WriteConsole()
ioctl()
read()
write()
Information maintenance GetCurrentProcessID()
SetTimer()
Sleep()
getpid()
alarm()
sleep()
Communication CreatePipe()
CreateFileMapping()
MapViewOfFile()
pipe()
shmget()
mmap()
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.148.210