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()