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
Remove building with NOCRYPTO option
[minix.git]
/
external
/
bsd
/
mdocml
/
dist
/
test-mmap.c
blob
7fb2f9737936bcfe4cce896bfd576dd338b911c8
1
#include <sys/types.h>
2
#include <sys/mman.h>
3
4
int
5
main
(
void
)
6
{
7
return
(
MAP_FAILED
!=
mmap
(
NULL
,
1
,
PROT_READ
,
MAP_SHARED
, -
1
,
0
));
8
}