Differences between current version and predecessor to the previous major change of MALLOC_CHECK_.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Tuesday, March 15, 2005 11:00:11 am | by HarryDoherty | |
Older page: | version 1 | Last edited on Friday, June 13, 2003 9:10:36 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 at run time 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 [mtrace
],
[LD_DEBUG],
CommonProgrammingBugs
+See also:
+*
[mcheck
]
+*
[LD_DEBUG]
+*
CommonProgrammingBugs