g_provider_by_name.9 (126861) | g_provider_by_name.9 (129381) |
---|---|
1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" | 1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/g_provider_by_name.9 126861 2004-03-11 19:53:22Z pjd $ | 25.\" $FreeBSD: head/share/man/man9/g_provider_by_name.9 129381 2004-05-18 11:33:37Z le $ |
26.\" 27.Dd January 16, 2004 28.Dt g_provider_by_name 9 29.Os 30.Sh NAME 31.Nm g_provider_by_name | 26.\" 27.Dd January 16, 2004 28.Dt g_provider_by_name 9 29.Os 30.Sh NAME 31.Nm g_provider_by_name |
32.Nd "find provider with given name" | 32.Nd "find GEOM provider with given name" |
33.Sh SYNOPSIS 34.In geom/geom.h 35.Ft "struct g_provider *" 36.Fn g_provider_by_name "const char *name" 37.Sh DESCRIPTION 38The 39.Fn g_provider_by_name | 33.Sh SYNOPSIS 34.In geom/geom.h 35.Ft "struct g_provider *" 36.Fn g_provider_by_name "const char *name" 37.Sh DESCRIPTION 38The 39.Fn g_provider_by_name |
40searches for a provider called | 40function searches for a provider called |
41.Fa name 42and returns the structure 43.Fa g_provider 44bound to it. 45Argument 46.Fa name 47should be a name, not a full path (ie. 48.Dq Pa da0 , --- 27 unchanged lines hidden --- | 41.Fa name 42and returns the structure 43.Fa g_provider 44bound to it. 45Argument 46.Fa name 47should be a name, not a full path (ie. 48.Dq Pa da0 , --- 27 unchanged lines hidden --- |