Merge "<unistd.h>: explain why getpagesize() is better than getauxval() as well as sysconf()." into main am: be241d1d6b

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3112242

Change-Id: Ic5e61455b5b2157b647a77c6bb7581ba2a1ba2d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2024-06-04 11:20:18 +00:00 committed by Automerger Merge Worker
commit 862d6713e2

View file

@ -353,7 +353,7 @@ int acct(const char* _Nullable __path);
/**
* [getpagesize(2)](https://man7.org/linux/man-pages/man2/getpagesize.2.html)
* returns the system's page size. This is slightly faster than going via
* sysconf().
* sysconf(), and avoids the linear search in getauxval().
*
* Returns the system's page size in bytes.
*/