projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update spacing.
[pintos-anon]
/
src
/
tests
/
vm
/
mmap-misalign.c
1
#include <syscall.h>
2
#include "tests/lib.h"
3
#include "tests/main.h"
4
5
void
6
test_main (void)
7
{
8
int handle;
9
10
CHECK ((handle = open ("sample.txt")) > 1, "open \"sample.txt\"");
11
CHECK (mmap (handle, (void *) 0x10001234) == MAP_FAILED,
12
"try to mmap at misaligned address");
13
}
14