-/* Initialization for acces s to a mmap'd malloc managed region. */
+/* Initialization for access to a mmap'd malloc managed region. */
-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2021. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
starting at the specified address BASEADDR in the process address
space.
- The provided BASEADDR should be choosed carefully in order to avoid
+ The provided BASEADDR should be chosen carefully in order to avoid
bumping into existing mapped regions or future mapped regions.
On success, returns a "malloc descriptor" which is used in subsequent
return (NULL);
else if (sbuf.st_size > 0) {
- /* We were given an valid file descriptor on an open file, so try to remap
+ /* We were given a valid file descriptor on an open file, so try to remap
it into the current process at the same address to which it was previously
mapped. It naturally have to pass some sanity checks for that.