summaryrefslogtreecommitdiff
path: root/usr/src/man/man3malloc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3malloc')
-rw-r--r--usr/src/man/man3malloc/bsdmalloc.3malloc7
-rw-r--r--usr/src/man/man3malloc/malloc.3malloc14
-rw-r--r--usr/src/man/man3malloc/mapmalloc.3malloc10
-rw-r--r--usr/src/man/man3malloc/mtmalloc.3malloc17
-rw-r--r--usr/src/man/man3malloc/umem_alloc.3malloc26
-rw-r--r--usr/src/man/man3malloc/umem_cache_create.3malloc14
-rw-r--r--usr/src/man/man3malloc/umem_debug.3malloc11
-rw-r--r--usr/src/man/man3malloc/watchmalloc.3malloc21
8 files changed, 84 insertions, 36 deletions
diff --git a/usr/src/man/man3malloc/bsdmalloc.3malloc b/usr/src/man/man3malloc/bsdmalloc.3malloc
index 2afb35edd1..1d5d1f9ed6 100644
--- a/usr/src/man/man3malloc/bsdmalloc.3malloc
+++ b/usr/src/man/man3malloc/bsdmalloc.3malloc
@@ -99,8 +99,11 @@ Comparative features of the various allocation libraries can be found in the
.SH SEE ALSO
.sp
.LP
-\fBbrk\fR(2), \fBmalloc\fR(3C), \fBmalloc\fR(3MALLOC),
-\fBmapmalloc\fR(3MALLOC), \fBumem_alloc\fR(3MALLOC)
+.BR brk (2),
+.BR malloc (3C),
+.BR malloc (3MALLOC),
+.BR mapmalloc (3MALLOC),
+.BR umem_alloc (3MALLOC)
.SH WARNINGS
.sp
.LP
diff --git a/usr/src/man/man3malloc/malloc.3malloc b/usr/src/man/man3malloc/malloc.3malloc
index f715ef9279..b0abf2b7bf 100644
--- a/usr/src/man/man3malloc/malloc.3malloc
+++ b/usr/src/man/man3malloc/malloc.3malloc
@@ -245,7 +245,7 @@ Comparative features of the various allocation libraries can be found in the
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -261,6 +261,12 @@ MT-Level Safe
.SH SEE ALSO
.sp
.LP
-\fBbrk\fR(2), \fBbsdmalloc\fR(3MALLOC), \fBlibmtmalloc\fR(3LIB),
-\fBmalloc\fR(3C), \fBmapmalloc\fR(3MALLOC), \fBmtmalloc\fR(3MALLOC),
-\fBumem_alloc\fR(3MALLOC), \fBwatchmalloc\fR(3MALLOC), \fBattributes\fR(5)
+.BR brk (2),
+.BR malloc (3C),
+.BR libmtmalloc (3LIB),
+.BR bsdmalloc (3MALLOC),
+.BR mapmalloc (3MALLOC),
+.BR mtmalloc (3MALLOC),
+.BR umem_alloc (3MALLOC),
+.BR watchmalloc (3MALLOC),
+.BR attributes (7)
diff --git a/usr/src/man/man3malloc/mapmalloc.3malloc b/usr/src/man/man3malloc/mapmalloc.3malloc
index 969296d473..8552448764 100644
--- a/usr/src/man/man3malloc/mapmalloc.3malloc
+++ b/usr/src/man/man3malloc/mapmalloc.3malloc
@@ -95,7 +95,7 @@ or \fIelsize\fR is 0, a unique pointer to the arena is returned.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -111,5 +111,9 @@ MT-Level Safe
.SH SEE ALSO
.sp
.LP
-\fBbrk\fR(2), \fBgetrlimit\fR(2), \fBmmap\fR(2), \fBrealloc\fR(3C),
-\fBmalloc\fR(3MALLOC), \fBattributes\fR(5)
+.BR brk (2),
+.BR getrlimit (2),
+.BR mmap (2),
+.BR realloc (3C),
+.BR malloc (3MALLOC),
+.BR attributes (7)
diff --git a/usr/src/man/man3malloc/mtmalloc.3malloc b/usr/src/man/man3malloc/mtmalloc.3malloc
index 1ca7a31fd8..b1206eae20 100644
--- a/usr/src/man/man3malloc/mtmalloc.3malloc
+++ b/usr/src/man/man3malloc/mtmalloc.3malloc
@@ -200,7 +200,7 @@ Comparative features of the various allocation libraries can be found in the
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -216,10 +216,17 @@ MT-Level Safe
.SH SEE ALSO
.sp
.LP
-\fBbrk\fR(2), \fBgetrlimit\fR(2), \fBbsdmalloc\fR(3MALLOC), \fBdlopen\fR(3C),
-\fBmalloc\fR(3C), \fBmalloc\fR(3MALLOC), \fBmapmalloc\fR(3MALLOC),
-\fBsignal.h\fR(3HEAD), \fBumem_alloc\fR(3MALLOC), \fBwatchmalloc\fR(3MALLOC),
-\fBattributes\fR(5)
+.BR brk (2),
+.BR getrlimit (2),
+.BR dlopen (3C),
+.BR malloc (3C),
+.BR signal.h (3HEAD),
+.BR bsdmalloc (3MALLOC),
+.BR malloc (3MALLOC),
+.BR mapmalloc (3MALLOC),
+.BR umem_alloc (3MALLOC),
+.BR watchmalloc (3MALLOC),
+.BR attributes (7)
.SH WARNINGS
.sp
.LP
diff --git a/usr/src/man/man3malloc/umem_alloc.3malloc b/usr/src/man/man3malloc/umem_alloc.3malloc
index 4ef98da14f..7bdf3a862a 100644
--- a/usr/src/man/man3malloc/umem_alloc.3malloc
+++ b/usr/src/man/man3malloc/umem_alloc.3malloc
@@ -349,7 +349,7 @@ if (status == NULL) {
.SH ATTRIBUTES
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -369,15 +369,25 @@ Standard See below.
.sp
.LP
For \fBmalloc()\fR, \fBcalloc()\fR, \fBfree()\fR, \fBrealloc()\fR, and
-\fBvalloc()\fR, see \fBstandards\fR(5).
+\fBvalloc()\fR, see \fBstandards\fR(7).
.SH SEE ALSO
.LP
-\fBexit\fR(2), \fBmmap\fR(2), \fBsbrk\fR(2), \fBbsdmalloc\fR(3MALLOC),
-\fBlibumem\fR(3LIB), \fBlongjmp\fR(3C), \fBmalloc\fR(3C),
-\fBmalloc\fR(3MALLOC), \fBmapmalloc\fR(3MALLOC), \fBpthread_exit\fR(3C),
-\fBthr_exit\fR(3C), \fBumem_cache_create\fR(3MALLOC),
-\fBumem_debug\fR(3MALLOC), \fBwatchmalloc\fR(3MALLOC), \fBattributes\fR(5),
-\fBstandards\fR(5)
+.BR exit (2),
+.BR mmap (2),
+.BR sbrk (2),
+.BR longjmp (3C),
+.BR malloc (3C),
+.BR pthread_exit (3C),
+.BR thr_exit (3C),
+.BR libumem (3LIB),
+.BR bsdmalloc (3MALLOC),
+.BR malloc (3MALLOC),
+.BR mapmalloc (3MALLOC),
+.BR umem_cache_create (3MALLOC),
+.BR umem_debug (3MALLOC),
+.BR watchmalloc (3MALLOC),
+.BR attributes (7),
+.BR standards (7)
.sp
.LP
\fIModular Debugger Guide\fR:
diff --git a/usr/src/man/man3malloc/umem_cache_create.3malloc b/usr/src/man/man3malloc/umem_cache_create.3malloc
index 4d64b744b3..75d170fa69 100644
--- a/usr/src/man/man3malloc/umem_cache_create.3malloc
+++ b/usr/src/man/man3malloc/umem_cache_create.3malloc
@@ -542,7 +542,7 @@ umem_cache_free(my_obj_8k_cache, my_obj_8k);
See the \fBEXAMPLES\fR section of \fBumem_alloc\fR(3MALLOC) for examples
involving the \fBUMEM_NOFAIL\fR flag.
.SH ATTRIBUTES
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -558,9 +558,15 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-\fBsetcontext\fR(2), \fBatexit\fR(3C), \fBlibumem\fR(3LIB), \fBlongjmp\fR(3C),
-\fBswapcontext\fR(3C), \fBthr_exit\fR(3C), \fBumem_alloc\fR(3MALLOC),
-\fBumem_debug\fR(3MALLOC), \fBattributes\fR(5)
+.BR setcontext (2),
+.BR atexit (3C),
+.BR longjmp (3C),
+.BR swapcontext (3C),
+.BR thr_exit (3C),
+.BR libumem (3LIB),
+.BR umem_alloc (3MALLOC),
+.BR umem_debug (3MALLOC),
+.BR attributes (7)
.sp
.LP
Bonwick, Jeff, "The Slab Allocator: An Object-Caching Kernel Memory Allocator",
diff --git a/usr/src/man/man3malloc/umem_debug.3malloc b/usr/src/man/man3malloc/umem_debug.3malloc
index 411d15e6f0..663186b870 100644
--- a/usr/src/man/man3malloc/umem_debug.3malloc
+++ b/usr/src/man/man3malloc/umem_debug.3malloc
@@ -171,7 +171,7 @@ cannot be allocated.
.RE
.SH ATTRIBUTES
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -187,9 +187,12 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-\fBmdb\fR(1), \fBabort\fR(3C), \fBsignal\fR(3C),
-\fBumem_cache_create\fR(3MALLOC), \fBumem_setmtbf\fR(3MALLOC),
-\fBattributes\fR(5)
+.BR mdb (1),
+.BR abort (3C),
+.BR signal (3C),
+.BR umem_cache_create (3MALLOC),
+.BR umem_setmtbf (3MALLOC),
+.BR attributes (7)
.sp
.LP
\fIModular Debugger Guide\fR:
diff --git a/usr/src/man/man3malloc/watchmalloc.3malloc b/usr/src/man/man3malloc/watchmalloc.3malloc
index 6f8407b019..abcffd30b1 100644
--- a/usr/src/man/man3malloc/watchmalloc.3malloc
+++ b/usr/src/man/man3malloc/watchmalloc.3malloc
@@ -58,7 +58,7 @@ The collection of \fBmalloc()\fR functions in this shared object are an
optional replacement for the standard versions of the same functions in the
system C library. See \fBmalloc\fR(3C). They provide a more strict interface
than the standard versions and enable enforcement of the interface through the
-watchpoint facility of \fB/proc\fR. See \fBproc\fR(4).
+watchpoint facility of \fB/proc\fR. See \fBproc\fR(5).
.sp
.LP
Any dynamically linked application can be run with these functions in place of
@@ -205,7 +205,7 @@ application is statically linked with respect to its \fBmalloc()\fR functions.
.SH ATTRIBUTES
.sp
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -221,7 +221,16 @@ MT-Level MT-Safe
.SH SEE ALSO
.sp
.LP
-\fBproc\fR(1), \fBbsdmalloc\fR(3MALLOC), \fBcalloc\fR(3C), \fBfree\fR(3C),
-\fBmalloc\fR(3C), \fBmalloc\fR(3MALLOC), \fBmapmalloc\fR(3MALLOC),
-\fBmemalign\fR(3C), \fBrealloc\fR(3C), \fBvalloc\fR(3C),
-\fBlibmapmalloc\fR(3LIB), \fBproc\fR(4), \fBattributes\fR(5)
+.BR proc (1),
+.BR calloc (3C),
+.BR free (3C),
+.BR malloc (3C),
+.BR memalign (3C),
+.BR realloc (3C),
+.BR valloc (3C),
+.BR libmapmalloc (3LIB),
+.BR bsdmalloc (3MALLOC),
+.BR malloc (3MALLOC),
+.BR mapmalloc (3MALLOC),
+.BR proc (5),
+.BR attributes (7)