aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/g_consumer.9
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-07-06 08:21:12 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-07-06 08:21:12 +0000
commit6f39ea8888c644f4f6a4099c08a1cdab65b5d274 (patch)
tree83c10b373fb1b2326095dcf22e0e0c71bbd2c686 /share/man/man9/g_consumer.9
parent8290e396fb052c992c6ba0cf6051ad8dcb94dfbd (diff)
downloadsrc-6f39ea8888c644f4f6a4099c08a1cdab65b5d274.tar.gz
src-6f39ea8888c644f4f6a4099c08a1cdab65b5d274.zip
Tiny markup fixes.
Notes
Notes: svn path=/head/; revision=131689
Diffstat (limited to 'share/man/man9/g_consumer.9')
-rw-r--r--share/man/man9/g_consumer.99
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/g_consumer.9 b/share/man/man9/g_consumer.9
index 90de11fb01b7..aa1e33a02856 100644
--- a/share/man/man9/g_consumer.9
+++ b/share/man/man9/g_consumer.9
@@ -25,7 +25,7 @@
.\" $FreeBSD$
.\"
.Dd January 16, 2004
-.Dt g_consumer 9
+.Dt G_CONSUMER 9
.Os
.Sh NAME
.Nm g_new_consumer ,
@@ -54,7 +54,6 @@ The
.Fn g_destroy_consumer
function destroys the given consumer and cancels all related pending events.
This function is the last stage of killing an unwanted consumer.
-.Pp
.Sh RESTRICTIONS/CONDITIONS
.Fn g_new_consumer :
.Bl -item -offset indent
@@ -62,9 +61,9 @@ This function is the last stage of killing an unwanted consumer.
The geom
.Fa gp
has to have
-.Fa start
+.Va start
and
-.Fa access
+.Va access
methods defined.
.It
The topology lock has to be held.
@@ -80,7 +79,9 @@ The access count has to be 0.
The topology lock has to be held.
.El
.Sh RETURN VALUES
+The
.Fn g_new_consumer
+function
returns a pointer to the newly created consumer.
.Sh EXAMPLES
Create consumer, attach it to given provider, gain read access and clean up.