Back to index

glibc  2.9
Functions
getpagesize.c File Reference
#include <unistd.h>
#include <sys/param.h>
#include <ldsodefs.h>
#include <sysdep.h>

Go to the source code of this file.

Functions

int __getpagesize ()

Function Documentation

int __getpagesize ( void  )

Definition at line 32 of file getpagesize.c.

{
  int ret = GLRO(dl_pagesize);
  if (ret == 0)
    {
      INTERNAL_SYSCALL_DECL (err);
      ret = INTERNAL_SYSCALL (getpagesize, err, 0);
#ifndef SHARED
      GLRO(dl_pagesize) = ret;
#endif
    }
  return ret;
}

Here is the call graph for this function:

Here is the caller graph for this function: