repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tools/tcp_stream: Set message size on both send and receive sides
[dragonfly.git]
/
contrib
/
mdocml
/
test-mmap.c
blob
c322a34d1fad72d883d17af8e04264d0f9acfa7e
1
#include <sys/types.h>
2
#include <sys/mman.h>
3
#include <stddef.h>
4
5
int
6
main
(
void
)
7
{
8
return
(
MAP_FAILED
!=
mmap
(
NULL
,
1
,
PROT_READ
,
MAP_SHARED
, -
1
,
0
));
9
}