Commit 0a4ae554 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bc38458d
......@@ -85,11 +85,9 @@ static error _pathError(const char *op, const string &path, int syserr) {
// mm::
namespace mm {
// map_into memory-maps f.fd[offset +size) as into [addr +size).
// map_into memory-maps f.fd[offset +size) into [addr +size).
// prot is PROT_* from mmap(2).
// flags is MAP_* from mmap(2); MAP_FIXED is added to flags.
//
// XXX split from File?
// flags is MAP_* from mmap(2); MAP_FIXED is added automatically.
error map_into(void *addr, size_t size, int prot, int flags, const os::File &f, off_t offset) {
void *addr2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment