File: machine.c

package info (click to toggle)
gwm 1.8d-2
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 5,120 kB
  • ctags: 3,030
  • sloc: ansic: 19,617; makefile: 1,763; lisp: 437; sh: 321; ml: 21
file content (24 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Copyright 1989 GROUPE BULL -- See license conditions in file COPYRIGHT
 * Copyright 1989 Massachusetts Institute of Technology
 */
/*******************************\
* 			        *
*  Machine - dependent patches  *
* 			        *
\*******************************/

#if defined SYSV || defined SVR4

/* getpagesize just returns "pagesize" which is 8192 on most machines? */

int 
getpagesize()
{
#ifdef PAGE_SIZE
    return PAGE_SIZE;
#else /* PAGE_SIZE */
    return 8192;
#endif /* PAGE_SIZE */
}

#endif /* SYSV || SVR4 */