X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..e2f4c322102dab25d663a761157720cbbb11702d:/src/xbt/mmalloc/mmalloc.texi diff --git a/src/xbt/mmalloc/mmalloc.texi b/src/xbt/mmalloc/mmalloc.texi index 0a2b9b3064..61d957221f 100644 --- a/src/xbt/mmalloc/mmalloc.texi +++ b/src/xbt/mmalloc/mmalloc.texi @@ -112,7 +112,7 @@ be persistent and exist as a filesystem object after the creating process has gone away. @item -Because multiple heaps can be managed, data used for a +Because multiple heaps can be managed, data used for a specific purpose can be allocated into its own heap, making it easier to allow applications to ``dump'' and ``restore'' initialized malloc-managed memory regions. For example, the ``unexec'' hack popularized @@ -184,7 +184,7 @@ calls with the above patterns if using @code{#define} causes problems. @section Function Descriptions These are the details on the functions that make up the @code{mmalloc} -package. +package. @table @code @item void *mmalloc_attach (int @var{fd}, void *@var{baseaddr}); @@ -223,7 +223,7 @@ On failure returns @code{NULL}. @item void *mmalloc_detach (void *@var{md}); Terminate access to a @code{mmalloc} managed region identified by the descriptor @var{md}, by closing the base file and unmapping all memory -pages associated with the region. +pages associated with the region. Returns @code{NULL} on success.