getpagesize function

int getpagesize()

Return the number of bytes in a page. This is the system's page size, which is not necessarily the same as the hardware page size.

Implementation

int getpagesize() {
  _getpagesize ??= Libc()
      .dylib
      .lookupFunction<ffi.Int32 Function(), _dart_getpagesize>('getpagesize');
  return _getpagesize!();
}