diff options
Diffstat (limited to 'static/freebsd/man9/device_delete_child.9 4.html')
| -rw-r--r-- | static/freebsd/man9/device_delete_child.9 4.html | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/static/freebsd/man9/device_delete_child.9 4.html b/static/freebsd/man9/device_delete_child.9 4.html deleted file mode 100644 index f17d2680..00000000 --- a/static/freebsd/man9/device_delete_child.9 4.html +++ /dev/null @@ -1,60 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">DEVICE_DELETE_CHILD(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">DEVICE_DELETE_CHILD(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_delete_child</code> — - <span class="Nd">delete a child from 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">int</var> - <br/> - <code class="Fn">device_delete_child</code>(<var class="Fa" style="white-space: nowrap;">device_t - dev</var>, <var class="Fa" style="white-space: nowrap;">device_t - child</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The specified device is removed from <var class="Fa">dev</var> and - deleted. If the device is currently attached, it is first detached via - <a class="Xr">device_detach(9)</a>. If - <a class="permalink" href="#device_detach"><code class="Fn" id="device_detach">device_detach</code></a>() - fails, its error value is returned. Otherwise, all descendant devices of - <var class="Fa">child</var> are deleted and zero is returned.</p> -<p class="Pp">The <a class="Xr">BUS_CHILD_DELETED(9)</a> method is invoked for - each device that is deleted. This permits the parent device's driver to tear - down any state associated with child devices such as ivars.</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 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">BUS_CHILD_DELETED(9)</a>, - <a class="Xr">device_add_child(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">February 5, 2025</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
