summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/devclass_get_drivers.9 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/devclass_get_drivers.9 4.html')
-rw-r--r--static/freebsd/man9/devclass_get_drivers.9 4.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/static/freebsd/man9/devclass_get_drivers.9 4.html b/static/freebsd/man9/devclass_get_drivers.9 4.html
new file mode 100644
index 00000000..9a741184
--- /dev/null
+++ b/static/freebsd/man9/devclass_get_drivers.9 4.html
@@ -0,0 +1,59 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">DEVCLASS_GET_DRIVERS(9)</td>
+ <td class="head-vol">Kernel Developer's Manual</td>
+ <td class="head-rtitle">DEVCLASS_GET_DRIVERS(9)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">devclass_get_drivers</code> &#x2014;
+ <span class="Nd">get a list of drivers in a devclass</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="In">#include
+ &lt;<a class="In">sys/param.h</a>&gt;</code>
+ <br/>
+ <code class="In">#include &lt;<a class="In">sys/bus.h</a>&gt;</code></p>
+<p class="Pp"><var class="Ft">int</var>
+ <br/>
+ <code class="Fn">devclass_get_drivers</code>(<var class="Fa" style="white-space: nowrap;">devclass_t
+ dc</var>, <var class="Fa" style="white-space: nowrap;">driver_t
+ ***listp</var>, <var class="Fa" style="white-space: nowrap;">int
+ *countp</var>);</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">Retrieve a list of pointers to all driver instances currently in
+ the devclass and return the list in <var class="Fa">*listp</var> and the
+ number of drivers in the list in <var class="Fa">*countp</var>. The memory
+ allocated for the list should be freed using
+ <a class="permalink" href="#free"><code class="Fn" id="free">free</code></a>(<var class="Fa">*listp</var>,
+ <var class="Fa">M_TEMP</var>), even if <var class="Fa">*countp</var> is
+ 0.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
+ VALUES</a></h1>
+<p class="Pp">Zero is returned on success, otherwise an appropriate error is
+ returned.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">devclass(9)</a>, <a class="Xr">device(9)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">This manual page was written by <span class="An">Nate
+ Lawson</span>.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">May 19, 2005</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>