source: rtems/cpukit/libcsupport/src/getpagesize.c @ e22af78

4.115
Last change on this file since e22af78 was 3750995, checked in by Alex Ivanov <alexivanov97@…>, on 12/10/12 at 19:51:23

libcsupport: Doxygen enhancement task #5

http://www.google-melange.com/gci/task/view/google/gci2012/7992211

  • Property mode set to 100644
File size: 450 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Get System Page Size
5 *  @ingroup libcsupport
6 */
7
8#if HAVE_CONFIG_H
9#include "config.h"
10#endif
11
12#include <unistd.h>
13#include <sys/param.h>
14
15/**
16 *  Get System Page Size (from SVR4 and 4.2+ BSD)
17 *
18 *  This is not a functional version but the SPARC backend for at least
19 *  gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
20 *  return a reasonable value.
21 */
22int getpagesize(void)
23{
24  return PAGE_SIZE;
25}
Note: See TracBrowser for help on using the repository browser.