repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
system
/
libroot
/
posix
/
unistd
/
getpagesize.c
blob
5cc1bd7b137852cf0b3ba31207b8099dd786e462
1
/*
2
** Copyright 2008, James Woodcock. All rights reserved.
3
** Distributed under the terms of the MIT License.
4
*/
5
6
#include <unistd.h>
7
#include <kernel/OS.h>
8
9
int
10
getpagesize
(
void
)
11
{
12
return
B_PAGE_SIZE
;
13
}