diff options
author | jmc <> | 2003-11-25 12:32:54 +0000 |
---|---|---|
committer | jmc <> | 2003-11-25 12:32:54 +0000 |
commit | 41dc7a742558d917eccf91509eeb54edaec69cd6 (patch) | |
tree | 12dc7c93c90bce19b3ee630c69f4e0e8f981775d /src | |
parent | 26e0bfda9260cfb8f726b0a83ed3595da551dff5 (diff) | |
download | openbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.tar.gz openbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.tar.bz2 openbsd-41dc7a742558d917eccf91509eeb54edaec69cd6.zip |
wording improvements from Brian Poole;
kill a .Pp before a display;
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 9 |
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. | |||
141 | When using | 141 | When using |
142 | .Fn realloc | 142 | .Fn realloc |
143 | one must be careful to avoid the following idiom: | 143 | one must be careful to avoid the following idiom: |
144 | .Pp | ||
145 | .Bd -literal -offset indent | 144 | .Bd -literal -offset indent |
146 | size += 50; | 145 | size += 50; |
147 | if ((p = realloc(p, size)) == NULL) | 146 | if ((p = realloc(p, size)) == NULL) |
@@ -349,7 +348,7 @@ internal freelist has been stomped on. | |||
349 | Here is a brief description of the warning messages and what they mean: | 348 | Here 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. |
352 | A pointer to a free chunk is attempted freed again. | 351 | There 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. |
354 | The pointer doesn't make sense. | 353 | The pointer doesn't make sense. |
355 | It's above the area of memory that | 354 | It's above the area of memory that |
@@ -422,5 +421,5 @@ Every time the free-list is traversed, all the otherwise unused, and very | |||
422 | likely paged out, pages get faulted into primary memory, just to see what | 421 | likely paged out, pages get faulted into primary memory, just to see what |
423 | lies after them in the list. | 422 | lies after them in the list. |
424 | .Pp | 423 | .Pp |
425 | On systems which are paging, this can make a factor five in difference on the | 424 | On systems which are paging, this can increase the page-faults |
426 | page-faults of a process. | 425 | of a process by a factor of five. |