aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-03-18 10:52:09 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-03-18 10:52:09 +0000
commitc2f7105cd0f56f60027ceab916836ac76e2ab67e (patch)
tree7b9e3e5367205391917b8a00edf8149228f7cbe4 /share/man/man9
parent2ca6ad76afa543086d879278d2988dc59b8add70 (diff)
downloadsrc-c2f7105cd0f56f60027ceab916836ac76e2ab67e.tar.gz
src-c2f7105cd0f56f60027ceab916836ac76e2ab67e.zip
mdoc(7) police: fixed some wording, kill whitespace at EOL.
Notes
Notes: svn path=/head/; revision=92567
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 447d8cfd2e6a..937317a31228 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