diff options
Diffstat (limited to 'static/freebsd/man9/device_get_driver.9 4.html')
| -rw-r--r-- | static/freebsd/man9/device_get_driver.9 4.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/static/freebsd/man9/device_get_driver.9 4.html b/static/freebsd/man9/device_get_driver.9 4.html new file mode 100644 index 00000000..9bcf091b --- /dev/null +++ b/static/freebsd/man9/device_get_driver.9 4.html @@ -0,0 +1,46 @@ +<table class="head"> + <tr> + <td class="head-ltitle">DEVICE_GET_DRIVER(9)</td> + <td class="head-vol">Kernel Developer's Manual</td> + <td class="head-rtitle">DEVICE_GET_DRIVER(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">device_get_driver</code> — + <span class="Nd">access the current driver of a device</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 + <<a class="In">sys/param.h</a>></code> + <br/> + <code class="In">#include <<a class="In">sys/bus.h</a>></code></p> +<p class="Pp"><var class="Ft">driver_t *</var> + <br/> + <code class="Fn">device_get_driver</code>(<var class="Fa" style="white-space: nowrap;">device_t + dev</var>);</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The current driver associated with the device is returned. If the + device has no driver, <code class="Dv">NULL</code> 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">device(9)</a>, <a class="Xr">driver(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">Doug + Rabson</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">June 16, 1998</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
