summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-05-27 20:49:31 +0000
committeraaron <aaron@openbsd.org>1999-05-27 20:49:31 +0000
commit1e8baf14b22d405ed071163cb0242c4a658fab81 (patch)
treebdd2280381d6eabf4d291db9fa196b07bfab42db /lib/libc/stdlib/malloc.3
parentUse lblktosize(fs, foo) instead of foo*fs->fs_bsize (diff)
downloadwireguard-openbsd-1e8baf14b22d405ed071163cb0242c4a658fab81.tar.xz
wireguard-openbsd-1e8baf14b22d405ed071163cb0242c4a658fab81.zip
more missing .El macros filled in
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.323
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 783629af5df..023a58b8325 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.13 1999/05/23 14:11:03 aaron Exp $
+.\" $OpenBSD: malloc.3,v 1.14 1999/05/27 20:49:35 aaron Exp $
.\"
.Dd August 27, 1996
.Dt MALLOC 3
@@ -164,36 +164,36 @@ Flags are single letters, uppercase means on, lowercase means off.
This is a very handy debugging aid, since the core file will represent the
time of failure,
rather than when the NULL pointer was accessed.
-
+.Pp
.It D
``dump'' malloc will dump statistics in a file called ``malloc.out'' at exit.
This option requires the library to have been compiled with -DMALLOC_STATS in
order to have any effect.
-
+.Pp
.It J
``junk'' fill some junk into the area allocated.
Currently junk is bytes of 0xd0, this is pronounced ``Duh'' :-)
-
+.Pp
.It H
``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 N
Do not output warning messages when encountering possible corruption
or bad pointers.
-
+.Pp
.It R
``realloc'' always reallocate when
.Fn realloc
is called, even if the initial allocation was big enough.
This can substantially aid in compacting memory.
-
+.Pp
.It U
``utrace'' generate entries for
.Xr ktrace 1
for all operations.
Consult the source for this one.
-
+.Pp
.It X
``xmalloc''
rather than return failure,
@@ -205,14 +205,14 @@ including in the source:
extern char *malloc_options;
malloc_options = "X";
.Ed
-
+.Pp
.It Z
``zero'' fill some junk into the area allocated (see ``J''),
except for the exact length the user asked for, which is zeroed.
-
+.Pp
.It <
``Half the cache size'' Reduce the size of the cache by a factor of two.
-
+.Pp
.It >
``Double the cache size'' Double the size of the cache by a factor of two.
.El
@@ -323,6 +323,7 @@ we found something we didn't understand.
.Bl -tag -width "/etc/malloc.conf"
.It Pa /etc/malloc.conf
symbolic link to file containing option flags
+.El
.Sh SEE ALSO
.Xr brk 2 ,
.Xr alloca 3 ,