diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-07-26 15:28:15 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2010-07-27 13:24:49 +0200 |
commit | deb9cabbf475da0b65d7acdb364987c4a15b4214 (patch) | |
tree | 637003842f5a6cc892edc58603e776a1c054f023 /manual | |
parent | 932ac045f0b3f57bf3c693920f4dac5009b8807e (diff) | |
download | glibc-deb9cabbf475da0b65d7acdb364987c4a15b4214.tar.gz glibc-deb9cabbf475da0b65d7acdb364987c4a15b4214.tar.xz glibc-deb9cabbf475da0b65d7acdb364987c4a15b4214.zip |
Document M_PERTURB
Diffstat (limited to 'manual')
-rw-r--r-- | manual/memory.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manual/memory.texi b/manual/memory.texi index 59ea1ee342..db63c3313b 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -702,6 +702,11 @@ be allocated via @code{mmap}. @item M_MMAP_MAX The maximum number of chunks to allocate with @code{mmap}. Setting this to zero disables all use of @code{mmap}. +@item M_PERTURB +If non-zero, memory blocks are filled with values depending on some +low order bits of this parameter when they are allocated (except when +allocated by @code{calloc}) and freed. This can be used to debug the +use of uninitialized or freed heap memory. @end table @end deftypefun |