PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <string.h>
#include <syscall.h>
#include "tests/vm/sample.inc"
#include "tests/lib.h"
#include "tests/main.h"
Go to the source code of this file.
Functions | |
void | test_main (void) |
Deletes and closes file that is mapped into memory and verifies that it can still be read through the mapping. More... | |
void test_main | ( | void | ) |
Deletes and closes file that is mapped into memory and verifies that it can still be read through the mapping.
Definition at line 11 of file mmap-remove.c.
References CHECK, close(), create(), fail(), MAP_FAILED, memcmp(), mmap(), munmap(), open(), remove(), and strlen().