source: trunk/src/binutils/libiberty/getpagesize.c@ 535

Last change on this file since 535 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 2.1 KB
Line 
1/* Emulation of getpagesize() for systems that need it. */
2
3/*
4
5NAME
6
7 getpagesize -- return the number of bytes in page of memory
8
9SYNOPSIS
10
11 int getpagesize (void)
12
13DESCRIPTION
14
15 Returns the number of bytes in a page of memory. This is the
16 granularity of many of the system memory management routines.
17 No guarantee is made as to whether or not it is the same as the
18 basic memory management hardware page size.
19
20BUGS
21
22 Is intended as a reasonable replacement for systems where this
23 is not provided as a system call. The value of 4096 may or may
24 not be correct for the systems where it is returned as the default
25 value.
26
27*/
28