|
@ -30,7 +30,7 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: malloc.3,v 1.34 2004/02/02 18:15:52 tedu Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: malloc.3,v 1.35 2004/02/04 08:59:00 jmc Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd August 27, 1996 |
|
|
.Dd August 27, 1996 |
|
|
.Dt MALLOC 3 |
|
|
.Dt MALLOC 3 |
|
@ -205,6 +205,11 @@ Each page size or larger allocation is followed by a guard page that will |
|
|
cause a segmentation fault upon any access. |
|
|
cause a segmentation fault upon any access. |
|
|
Smaller than page size chunks are returned in a random order. |
|
|
Smaller than page size chunks are returned in a random order. |
|
|
.Pp |
|
|
.Pp |
|
|
|
|
|
.It Cm H |
|
|
|
|
|
.Dq Hint . |
|
|
|
|
|
Pass a hint to the kernel about pages we don't use. |
|
|
|
|
|
If the machine is paging a lot this may help a bit. |
|
|
|
|
|
.Pp |
|
|
.It Cm J |
|
|
.It Cm J |
|
|
.Dq Junk . |
|
|
.Dq Junk . |
|
|
Fill some junk into the area allocated. |
|
|
Fill some junk into the area allocated. |
|
@ -212,11 +217,6 @@ Currently junk is bytes of 0xd0; this is pronounced |
|
|
.Dq Duh . |
|
|
.Dq Duh . |
|
|
\&:-) |
|
|
\&:-) |
|
|
.Pp |
|
|
.Pp |
|
|
.It Cm H |
|
|
|
|
|
.Dq Hint . |
|
|
|
|
|
Pass a hint to the kernel about pages we don't use. |
|
|
|
|
|
If the machine is paging a lot this may help a bit. |
|
|
|
|
|
.Pp |
|
|
|
|
|
.It Cm N |
|
|
.It Cm N |
|
|
Do not output warning messages when encountering possible corruption |
|
|
Do not output warning messages when encountering possible corruption |
|
|
or bad pointers. |
|
|
or bad pointers. |
|
|