diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-05-30 20:39:32 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-05-30 20:39:32 +0000 |
| commit | 7e2a8bde3e6e2474267217ee4108e1737fd4b4db (patch) | |
| tree | 311ce9f88418af30995f1834314be6bc84f0d1f1 /lib/libc/stdlib/malloc.3 | |
| parent | e134b4d4a98317eddcd2c2c097da69c774e59617 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
| -rw-r--r-- | lib/libc/stdlib/malloc.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 98dabbcba732..97825886d03c 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)malloc.3 8.1 (Berkeley) 6/4/93 -.\" $Id: malloc.3,v 1.8 1997/02/22 15:03:10 peter Exp $ +.\" $Id: malloc.3,v 1.9 1997/03/22 23:48:12 mpp Exp $ .\" .Dd August 27, 1996 .Dt MALLOC 3 @@ -149,6 +149,18 @@ This can substantially aid in compacting memory. ``utrace'' generate entries for ktrace(1) for all operations. Consult the source for this one. +.It X +``xmalloc'' +rather than return failure, +.Xr abort 3 +the program with a diagnostic message on stderr. +It is the intention that this option be set at compile time by +including in the source: +.Bd -literal -offset indent +extern char *malloc_options; +malloc_options = "X"; +.Ed + .It Z ``zero'' fill some junk into the area allocated (see ``J''), except for the exact length the user asked for, which is zeroed. |
