|
|
|
|
|
by pjmlp
2187 days ago
|
|
Only UNIX based OSes use libc as part of the stable interface, which on UNIXes case actually means ISO C + POSIX. On non-POSIX OSes like NT and plenty of others, libc is part of whatever compiler one decides to use and as such not part of any OS interface as such. On NT the stable OS APIs are provided via the OS personalities, meaning OS/2 (dead now), the old POSIX one (also dead and replaced by WSL), and Win32 (actually User, Kernel, GDI as the main ones), which as of Windows 8 and MinWin refactoring is split into redirection dlls know as API sets, https://docs.microsoft.com/en-us/windows/win32/apiindex/wind.... Which is why on code that never intends to be portable, you will see calls like ZeroMemory instead of memset. |
|