diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 8cf547251c..9c4d94db15 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,7 +30,7 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.40 2005/06/07 09:04:42 jmc Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.41 2005/07/26 04:20:23 jaredy Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd August 27, 1996 | 35 | .Dd August 27, 1996 |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
@@ -293,7 +293,10 @@ if successful; otherwise, a null pointer is returned and | |||
293 | is set to | 293 | is set to |
294 | .Er ENOMEM . | 294 | .Er ENOMEM . |
295 | .Sh ENVIRONMENT | 295 | .Sh ENVIRONMENT |
296 | .Bl -tag -width Ev | ||
297 | .It Ev MALLOC_OPTIONS | ||
296 | See above. | 298 | See above. |
299 | .El | ||
297 | .Sh FILES | 300 | .Sh FILES |
298 | .Bl -tag -width "/etc/malloc.conf" | 301 | .Bl -tag -width "/etc/malloc.conf" |
299 | .It Pa /etc/malloc.conf | 302 | .It Pa /etc/malloc.conf |
@@ -318,7 +321,7 @@ option has been specified, warnings will also | |||
318 | the process. | 321 | the process. |
319 | .Pp | 322 | .Pp |
320 | Here is a brief description of the error messages and what they mean: | 323 | Here is a brief description of the error messages and what they mean: |
321 | .Bl -tag -width Fl | 324 | .Bl -tag -width Ds |
322 | .It Dq (ES): mumble mumble mumble | 325 | .It Dq (ES): mumble mumble mumble |
323 | .Fn malloc | 326 | .Fn malloc |
324 | has been compiled with | 327 | has been compiled with |
@@ -346,7 +349,7 @@ internal freelist has been stomped on. | |||
346 | .El | 349 | .El |
347 | .Pp | 350 | .Pp |
348 | Here is a brief description of the warning messages and what they mean: | 351 | Here is a brief description of the warning messages and what they mean: |
349 | .Bl -tag -width Fl | 352 | .Bl -tag -width Ds |
350 | .It Dq chunk/page is already free. | 353 | .It Dq chunk/page is already free. |
351 | There was an attempt to free a chunk that had already been freed. | 354 | There was an attempt to free a chunk that had already been freed. |
352 | .It Dq junk pointer, too high to make sense. | 355 | .It Dq junk pointer, too high to make sense. |
@@ -367,7 +370,11 @@ This pointer probably came from your data or bss segments. | |||
367 | Nothing has ever been allocated, yet something is being freed or | 370 | Nothing has ever been allocated, yet something is being freed or |
368 | realloc'ed. | 371 | realloc'ed. |
369 | .It Dq modified (chunk-/page-) pointer. | 372 | .It Dq modified (chunk-/page-) pointer. |
370 | The pointer passed to free or realloc has been modified. | 373 | The pointer passed to |
374 | .Fn free | ||
375 | or | ||
376 | .Fn realloc | ||
377 | has been modified. | ||
371 | .It Dq pointer to wrong page. | 378 | .It Dq pointer to wrong page. |
372 | The pointer that | 379 | The pointer that |
373 | .Fn malloc | 380 | .Fn malloc |