Both in general and with regard to cross-platform support, is one function -- getpagesize() vs. sysconf(_SC_PAGESIZE) -- more reliable than the other?
After some additional searching, I've discovered that getpagesize() was deprecated in POSIX issue 6. So, sysconf(_SC_PAGESIZE) should be used instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With