summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-03-18 10:52:09 +0000
committerru <ru@FreeBSD.org>2002-03-18 10:52:09 +0000
commite558020c079cfe05e0f9e56d3acf3d0f456d325a (patch)
tree7b9e3e5367205391917b8a00edf8149228f7cbe4 /share/man/man9
parent22b01e0e545973b1a0f8b1fc579d21aac413c58c (diff)
downloadFreeBSD-src-e558020c079cfe05e0f9e56d3acf3d0f456d325a.zip
FreeBSD-src-e558020c079cfe05e0f9e56d3acf3d0f456d325a.tar.gz
mdoc(7) police: fixed some wording, kill whitespace at EOL.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/malloc.910
1 files changed, 6 insertions, 4 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index 447d8cf..937317a 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -108,7 +108,9 @@ for the specified size.
.Pp
The
.Fn reallocf
-function call is identical to the realloc function call, except that it
+function is identical to
+.Fn realloc
+except that it
will free the passed pointer when the requested memory cannot be allocated.
.Pp
The
@@ -139,7 +141,7 @@ Causes the allocated memory to be set to all zeros.
Causes
.Fn malloc ,
.Fn realloc ,
-or
+and
.Fn reallocf
to return
.Dv NULL
@@ -154,7 +156,7 @@ rather then block.
Note that
.Dv M_WAITOK
is defined to be 0, meaning that blocking operation is the default.
-Also note that
+Also note that
.Dv M_NOWAIT
is required when running in an interrupt context.
.It Dv M_WAITOK
@@ -214,7 +216,7 @@ MALLOC(buf, struct foo_buf *, sizeof *buf, M_FOOBUF, M_NOWAIT);
.Fn malloc ,
.Fn realloc ,
and
-.Fn reallocf
+.Fn reallocf
return a kernel virtual address that is suitably aligned for storage of
any type of object, or
.Dv NULL
OpenPOWER on IntegriCloud