aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-05-30 11:37:39 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-05-30 11:37:39 +0000
commit9be1948fa49134eea5973178bb44420410f7b45c (patch)
tree26435aedeb26df3dd870ed51f4414c416c2e9b48 /share/man
parenta5d521237123600d010bd182a9a5e222ef41439e (diff)
downloadsrc-9be1948fa49134eea5973178bb44420410f7b45c.tar.gz
src-9be1948fa49134eea5973178bb44420410f7b45c.zip
mdoc(7) police: Fix SYNOPSIS, bump document date.
Notes
Notes: svn path=/head/; revision=97578
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/zone.916
1 files changed, 9 insertions, 7 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index f059eba3cef0..30d8c396782b 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 27, 2001
+.Dd May 18, 2002
.Dt ZONE 9
.Os
.Sh NAME
@@ -39,10 +39,13 @@
.In sys/queue.h
.In vm/uma.h
.Ft uma_zone_t
-.Fn uma_zcreate "char *name" "int size" "uma_ctor ctor" "uma_dtor dtor" "uma_in
-it uminit" "uma_fini fini" "int align" "u_int16_t flags"
-.Ft void *
-.Fn uma_zalloc "uma_zone_t zone, int flags"
+.Fo uma_zcreate
+.Fa "char *name" "int size"
+.Fa "uma_ctor ctor" "uma_dtor dtor" "uma_init uminit" "uma_fini fini"
+.Fa "int align" "u_int16_t flags"
+.Fc
+.Ft "void *"
+.Fn uma_zalloc "uma_zone_t zone" "int flags"
.Ft void
.Fn uma_zfree "uma_zone_t zone" "void *item"
.Ft void
@@ -66,7 +69,7 @@ and wish to use the type stable property of zones by leaving some fields
pre-filled between allocations, must reserve
two pointers at the very beginning for internal use by the zone
allocator, as follows:
-.Bd -literal
+.Bd -literal -offset indent
struct my_item {
struct my_item *z_rsvd1;
struct my_item *z_rsvd2;
@@ -121,7 +124,6 @@ must have been freed with
.Fn uma_zfree
before.
.Sh RETURN VALUES
-.Pp
The
.Fn uma_zalloc
function returns a pointer to an item, or