repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tools/llvm: Do not build with symbols
[minix3.git]
/
external
/
bsd
/
mdocml
/
dist
/
test-mmap.c
blob
db8fd8732e4df81fdb71fe9dce334a00d2839f2d
1
#include <sys/types.h>
2
#include <sys/mman.h>
3
4
int
5
main
(
int
argc
,
char
**
argv
)
6
{
7
8
mmap
(
0
,
0
,
PROT_READ
,
MAP_FILE
|
MAP_SHARED
, -
1
,
0
);
9
return
0
;
10
}