Differences between version 4 and previous revision of MALLOC_CHECK_.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Friday, April 2, 2004 11:39:12 am | by AristotlePagaltzis | Revert |
Older page: | version 3 | Last edited on Saturday, June 14, 2003 9:40:31 pm | by JohnMcPherson | Revert |
@@ -1,12 +1,12 @@
-Another special environment variable
that the c library
uses to aid in debugging
.
+Another special EnvironmentVariable
that the [C] [Library]
uses to decide which implementation of malloc(3) to use. This is an
aid for DeBugging memory structure corruption
.
- $ export MALLOC_CHECK_=''n''
-where:
- n=0 => ignore corruptions
- n=1 => print to stderr
- n=2 => abort immediately
+Its value should be one of
-Mainly useful for bugs that corrupt the memory structures.
+* 0 to ignore corruptions
+* 1 to print to stderr(3)
+* 2 to abort immediately
-----
-
See also [mcheck],
[LD_DEBUG],
CommonProgrammingBugs
+See also:
+*
[mcheck]
+*
[LD_DEBUG]
+*
CommonProgrammingBugs