There is no Windows malloc(). Only UNIXes have the C API as part of the OS API.
UNIXes are the only OSes were there is an overlapping between OS APIs and libc due to C's origin.
I think this isn't quite right - I think some distributions are actually certified as UNIX.