summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2004-02-04 08:59:00 +0000
committerjmc <>2004-02-04 08:59:00 +0000
commitf4471dfe8dbc436171f499295c8c86950583edf3 (patch)
treebfb90a58cc4241fd2f34907f5530d85221b3a38b
parent9237b96b4b1795a66946df726fe5d1f0af5380ad (diff)
downloadopenbsd-f4471dfe8dbc436171f499295c8c86950583edf3.tar.gz
openbsd-f4471dfe8dbc436171f499295c8c86950583edf3.tar.bz2
openbsd-f4471dfe8dbc436171f499295c8c86950583edf3.zip
H comes before J;
-rw-r--r--src/lib/libc/stdlib/malloc.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index ea6344d6a9..df09fbde7f 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.34 2004/02/02 18:15:52 tedu Exp $ 33.\" $OpenBSD: malloc.3,v 1.35 2004/02/04 08:59:00 jmc Exp $
34.\" 34.\"
35.Dd August 27, 1996 35.Dd August 27, 1996
36.Dt MALLOC 3 36.Dt MALLOC 3
@@ -205,6 +205,11 @@ Each page size or larger allocation is followed by a guard page that will
205cause a segmentation fault upon any access. 205cause a segmentation fault upon any access.
206Smaller than page size chunks are returned in a random order. 206Smaller than page size chunks are returned in a random order.
207.Pp 207.Pp
208.It Cm H
209.Dq Hint .
210Pass a hint to the kernel about pages we don't use.
211If the machine is paging a lot this may help a bit.
212.Pp
208.It Cm J 213.It Cm J
209.Dq Junk . 214.Dq Junk .
210Fill some junk into the area allocated. 215Fill some junk into the area allocated.
@@ -212,11 +217,6 @@ Currently junk is bytes of 0xd0; this is pronounced
212.Dq Duh . 217.Dq Duh .
213\&:-) 218\&:-)
214.Pp 219.Pp
215.It Cm H
216.Dq Hint .
217Pass a hint to the kernel about pages we don't use.
218If the machine is paging a lot this may help a bit.
219.Pp
220.It Cm N 220.It Cm N
221Do not output warning messages when encountering possible corruption 221Do not output warning messages when encountering possible corruption
222or bad pointers. 222or bad pointers.