Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Linux Equivalent of Kernel32.dll?

Does Linux have a shared library that exports OS functions?

msvcrt.dll -> libc.so.6

kernel32.dll -> ?

like image 798
Unknown Avatar asked Dec 06 '22 06:12

Unknown


1 Answers

'kernel32.dll' would also translate to libc.so.6. Since Windows is not POSIX on its lowest level, it needs an additional layer to translate POSIX libc calls into native Win32 calls. This is what msvcrt.dll is for. Kernel32.dll contains the lowest level calls. On Linux, those system calls are already POSIX, so no extra library needed.

like image 140
Rutger Nijlunsing Avatar answered Dec 08 '22 00:12

Rutger Nijlunsing