summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2003-11-25 12:32:54 +0000
committerjmc <>2003-11-25 12:32:54 +0000
commit41dc7a742558d917eccf91509eeb54edaec69cd6 (patch)
tree12dc7c93c90bce19b3ee630c69f4e0e8f981775d
parent26e0bfda9260cfb8f726b0a83ed3595da551dff5 (diff)
downloadopenbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.tar.gz
openbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.tar.bz2
openbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.zip
wording improvements from Brian Poole;
kill a .Pp before a display;
-rw-r--r--src/lib/libc/stdlib/malloc.39
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index 2af8900656..1182256650 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.32 2003/10/16 17:05:04 tedu Exp $ 33.\" $OpenBSD: malloc.3,v 1.33 2003/11/25 12:32:54 jmc Exp $
34.\" 34.\"
35.Dd August 27, 1996 35.Dd August 27, 1996
36.Dt MALLOC 3 36.Dt MALLOC 3
@@ -141,7 +141,6 @@ object is returned.
141When using 141When using
142.Fn realloc 142.Fn realloc
143one must be careful to avoid the following idiom: 143one must be careful to avoid the following idiom:
144.Pp
145.Bd -literal -offset indent 144.Bd -literal -offset indent
146size += 50; 145size += 50;
147if ((p = realloc(p, size)) == NULL) 146if ((p = realloc(p, size)) == NULL)
@@ -349,7 +348,7 @@ internal freelist has been stomped on.
349Here is a brief description of the warning messages and what they mean: 348Here is a brief description of the warning messages and what they mean:
350.Bl -tag -width Fl 349.Bl -tag -width Fl
351.It Dq chunk/page is already free. 350.It Dq chunk/page is already free.
352A pointer to a free chunk is attempted freed again. 351There was an attempt to free a chunk that had already been freed.
353.It Dq junk pointer, too high to make sense. 352.It Dq junk pointer, too high to make sense.
354The pointer doesn't make sense. 353The pointer doesn't make sense.
355It's above the area of memory that 354It's above the area of memory that
@@ -422,5 +421,5 @@ Every time the free-list is traversed, all the otherwise unused, and very
422likely paged out, pages get faulted into primary memory, just to see what 421likely paged out, pages get faulted into primary memory, just to see what
423lies after them in the list. 422lies after them in the list.
424.Pp 423.Pp
425On systems which are paging, this can make a factor five in difference on the 424On systems which are paging, this can increase the page-faults
426page-faults of a process. 425of a process by a factor of five.