repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vm: fix a null dereference on out-of-memory
[minix.git]
/
lib
/
libc
/
gen
/
minix
/
getpagesize.c
blob
006f017009191839c45db07540f7ba3051712e91
1
/*
2
getpagesize.c
3
*/
4
#include <sys/cdefs.h>
5
#include
"namespace.h"
6
7
#include <machine/vmparam.h>
8
#include <unistd.h>
9
10
#ifdef __weak_alias
11
__weak_alias
(
getpagesize
,
_getpagesize
)
12
#endif
13
14
int
getpagesize
(
void
)
15
{
16
return
PAGE_SIZE
;
17
}