diff options
author | ru <ru@FreeBSD.org> | 2002-05-30 11:37:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-05-30 11:37:39 +0000 |
commit | 1b01e6fb637ad2067288925ea11a38241d008fdd (patch) | |
tree | 26435aedeb26df3dd870ed51f4414c416c2e9b48 /share | |
parent | b8ff33afe9579ff837b51f514100378252395e10 (diff) | |
download | FreeBSD-src-1b01e6fb637ad2067288925ea11a38241d008fdd.zip FreeBSD-src-1b01e6fb637ad2067288925ea11a38241d008fdd.tar.gz |
mdoc(7) police: Fix SYNOPSIS, bump document date.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/zone.9 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index f059eba..30d8c39 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 |