4.115
Last change
on this file since 92119ed was
d3b5fe3,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/24/09 at 11:14:12
|
2009-09-24 Joel Sherrill <joel.sherrill@…>
- libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy
of getpagesize() and make it return an int.
- posix/src/getpagesize.c: Removed.
|
-
Property mode set to
100644
|
File size:
387 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #if HAVE_CONFIG_H |
---|
6 | #include "config.h" |
---|
7 | #endif |
---|
8 | |
---|
9 | #include <unistd.h> |
---|
10 | #include <sys/param.h> |
---|
11 | |
---|
12 | /* |
---|
13 | * Get System Page Size (from SVR4 and 4.2+ BSD) |
---|
14 | * |
---|
15 | * This is not a functional version but the SPARC backend for at least |
---|
16 | * gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and |
---|
17 | * return a reasonable value. |
---|
18 | */ |
---|
19 | int getpagesize(void) |
---|
20 | { |
---|
21 | return PAGE_SIZE; |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.