unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



getpagesize(2)						       getpagesize(2)



NAME
  getpagesize -	Gets the system	page size

SYNOPSIS

  #include <&lt;unistd.h>&gt;

  int getpagesize ( void );

STANDARDS

  Interfaces documented	on this	reference page conform to industry standards
  as follows:

  getpagesize(): XPG4-UNIX

  Refer	to the standards(5) reference page for more information	about indus-
  try standards	and associated tags.

DESCRIPTION

  The getpagesize() function returns the number	of bytes in a page. You	might
  need to include this value in	parameters to memory management	system calls.

  The page size	is an operating	system page size and might differ from the
  underlying hardware page size.

RETURN VALUES

  The getpagesize() function returns the number	of bytes in a page, and	is
  always successful.

RELATED	INFORMATION

  Functions: brk(2), getrlimit(2), madvise(2), mmap(2),	mprotect(2),
  msync(2), munmap(2)

  Routines: sysconf(3)

  Standards: standards(5)