Merge "getpagesize(): remove "portability" claim." into main am: a84f9cffcf

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

Change-Id: I3dc4c2fdf157f765ce264c031bda11d5ab9734e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2024-06-03 20:33:08 +00:00 committed by Automerger Merge Worker
commit 7e6ca0d6b5

View file

@ -29,7 +29,6 @@
#include <unistd.h>
#include "platform/bionic/page.h"
// Portable code should use sysconf(_SC_PAGE_SIZE) directly instead.
int getpagesize() {
// We dont use sysconf(3) here because that drags in stdio, which makes static binaries fat.
return page_size();