No, there is no such (portable) function. In modern operating systems that implement memory protection, user space (unlike kernel space, that is, parts of the OS) cannot directly access physical addresses, which is simply not allowed. Therefore, it would make little sense.
, , "" "". , , , , "" .
, Linux , .