summaryrefslogtreecommitdiffstats
path: root/share/man/man9/g_access.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
committerru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
commit7a3e657c56eb965857c0eaa67dfd6280cc69f93b (patch)
tree36796da3893db6597f28e6ae2ca01d40b60b73cb /share/man/man9/g_access.9
parente892f32ba81eb2390a9e34d8cea91ef6c95ce340 (diff)
downloadFreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.zip
FreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.tar.gz
Sort sections.
Diffstat (limited to 'share/man/man9/g_access.9')
-rw-r--r--share/man/man9/g_access.924
1 files changed, 12 insertions, 12 deletions
diff --git a/share/man/man9/g_access.9 b/share/man/man9/g_access.9
index 5bb8d52..95ad1da 100644
--- a/share/man/man9/g_access.9
+++ b/share/man/man9/g_access.9
@@ -86,18 +86,6 @@ cannot fail when the arguments
and
.Fa dce
are less than or equal to 0.
-.Sh ERRORS
-Possible errors:
-.Bl -tag -width Er
-.It Bq Er EPERM
-The function is trying to open a provider with an exclusive access count, but
-it is already open for writing.
-.It Bq Er EPERM
-The function is trying to open a provider for writing, but it is already
-exclusively open.
-.El
-.Pp
-Any other error that can be returned by the provider's access method.
.Sh EXAMPLES
Create a consumer, attach it to a given provider, gain read access and
read first sector.
@@ -147,6 +135,18 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
g_destroy_consumer(cp);
}
.Ed
+.Sh ERRORS
+Possible errors:
+.Bl -tag -width Er
+.It Bq Er EPERM
+The function is trying to open a provider with an exclusive access count, but
+it is already open for writing.
+.It Bq Er EPERM
+The function is trying to open a provider for writing, but it is already
+exclusively open.
+.El
+.Pp
+Any other error that can be returned by the provider's access method.
.Sh SEE ALSO
.Xr geom 4 ,
.Xr DECLARE_GEOM_CLASS 9 ,
OpenPOWER on IntegriCloud