aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-12-12 14:41:53 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-12-12 14:41:53 +0000
commitf0cc88ffedb27bba71ea00930c2ddf313a2aa916 (patch)
treeb4c4c986a8c2552ebddb9b6e71d585957d3be6b3
parent9a05e59078baafcefcd1b3d0334e2425fb8e305e (diff)
mdoc(7) police: kill HSBs, add missing comma.
Notes
Notes: svn path=/head/; revision=87737
-rw-r--r--lib/libc/stdlib/malloc.321
1 files changed, 13 insertions, 8 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 2ce7e0f4681f..4271ff80c576 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -117,8 +117,9 @@ is returned and
the memory referenced by
.Fa ptr
is valid and unchanged.
-If memory can be allocated a pointer to the newly allocated portion of
-the memory is returned. Note that this may be different from the value
+If memory can be allocated, a pointer to the newly allocated portion of
+the memory is returned.
+Note that this may be different from the value
passed as
.Fa ptr .
If
@@ -191,8 +192,8 @@ option.
This is intended for debugging and will impact performance negatively.
.It H
Pass a hint to the kernel about pages unused by the allocation functions.
-This will help performance if the system is paging excessively. This
-option is off by default.
+This will help performance if the system is paging excessively.
+This option is off by default.
.It R
Causes the
.Fn realloc
@@ -329,7 +330,8 @@ done by a process.
.Pp
A side effect of this architecture is that many minor transgressions on
the interface which would traditionally not be detected are in fact
-detected. As a result, programs that have been running happily for
+detected.
+As a result, programs that have been running happily for
years may suddenly start to complain loudly, when linked with this
allocation implementation.
.Pp
@@ -345,7 +347,8 @@ options and symbols for debugger support.
If the program starts to give unusual results, coredump or generally behave
differently without emitting any of the messages listed in the next
section, it is likely because it depends on the storage being filled with
-zero bytes. Try running it with
+zero bytes.
+Try running it with
.Dq Z
option set;
if that improves the situation, this diagnosis has been confirmed.
@@ -439,7 +442,8 @@ or
is trying to free does not reference a possible page.
.It "recursive call"
A process has attempted to call an allocation function recursively.
-This is not permitted. In particular, signal handlers should not
+This is not permitted.
+In particular, signal handlers should not
attempt to allocate memory.
.It "unknown char in MALLOC_OPTIONS"
An unknown option was specified.
@@ -466,7 +470,8 @@ functions conform to
.Sh HISTORY
The present allocation implementation started out as a filesystem for a
drum attached to a 20bit binary challenged computer which was built
-with discrete germanium transistors. It has since graduated to
+with discrete germanium transistors.
+It has since graduated to
handle primary storage rather than secondary.
It first appeared in its new shape and ability in
.Fx 2.2 .