git.ckatri.com
/
mandoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
catch up with the changed interface of mparse_alloc(), see mandoc.h rev 1.100
[mandoc.git]
/
test-mmap.c
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
}