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:
commit
862d6713e2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue