diff options
Diffstat (limited to 'static/netbsd/man9/wsbell.9 3.html')
| -rw-r--r-- | static/netbsd/man9/wsbell.9 3.html | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/static/netbsd/man9/wsbell.9 3.html b/static/netbsd/man9/wsbell.9 3.html deleted file mode 100644 index 05dad7f0..00000000 --- a/static/netbsd/man9/wsbell.9 3.html +++ /dev/null @@ -1,103 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">WSBELL(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">WSBELL(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">wsbell</code>, - <code class="Nm">wsbelldevprint</code> — <span class="Nd">wscons - system bell support</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">dev/wscons/wsconsio.h</a>></code> - <br/> - <code class="In">#include - <<a class="In">dev/wscons/wsbellvar.h</a>></code></p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">wsbelldevprint</code>(<var class="Fa" style="white-space: nowrap;">void - *aux</var>, <var class="Fa" style="white-space: nowrap;">const char - *pnp</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The <code class="Nm">wsbell</code> module is a component of the - <a class="Xr">wscons(9)</a> framework, providing keyboard-independent bell - support. All of the support is provided by the <a class="Xr">wsbell(4)</a> - device driver, which must be a child of the hardware device driver. The only - hardware device drivers that can provide a <code class="Nm">wsbell</code> - facility are <a class="Xr">speaker(4)</a> devices.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DATA_TYPES"><a class="permalink" href="#DATA_TYPES">DATA - TYPES</a></h1> -<p class="Pp">Speaker drivers providing support for wscons bell devices will - make use of the following data types:</p> -<dl class="Bl-tag"> - <dt><var class="Fa">struct wsbelldev_attach_args</var></dt> - <dd>A structure used to attach the <a class="Xr">wsbell(4)</a> child device. - It has the following members: - <div class="Bd Pp Li"> - <pre> void *accesscookie;</pre> - </div> - </dd> -</dl> -</section> -<section class="Sh"> -<h1 class="Sh" id="FUNCTIONS"><a class="permalink" href="#FUNCTIONS">FUNCTIONS</a></h1> -<dl class="Bl-tag"> - <dt id="wsbelldevprint"><a class="permalink" href="#wsbelldevprint"><code class="Fn">wsbelldevprint</code></a>(<var class="Fa">aux</var>, - <var class="Fa">pnp</var>)</dt> - <dd>The default wsbell printing routine used by - <a class="permalink" href="#config_found"><code class="Fn" id="config_found">config_found</code></a>(). - (see <a class="Xr">autoconf(9)</a>).</dd> -</dl> -</section> -<section class="Sh"> -<h1 class="Sh" id="AUTOCONFIGURATION"><a class="permalink" href="#AUTOCONFIGURATION">AUTOCONFIGURATION</a></h1> -<p class="Pp">Speaker drivers which want to use the wsbell module must be a - parent to the <a class="Xr">wsbell(4)</a> device and provide an attachment - interface. To attach the <a class="Xr">wsbell(4)</a> device, the speaker - driver must allocate and populate a - <var class="Fa">wsbelldev_attach_args</var> structure with a pointer to the - parent's device structure as an access cookie and call - <code class="Fn">config_found</code>() to perform the attach (see - <a class="Xr">autoconf(9)</a>).</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="OPERATION"><a class="permalink" href="#OPERATION">OPERATION</a></h1> -<p class="Pp">When a bell event is received on a <a class="Xr">wsdisplay(4)</a> - device the system bell is sounded.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="CODE_REFERENCES"><a class="permalink" href="#CODE_REFERENCES">CODE - REFERENCES</a></h1> -<p class="Pp">The wscons subsystem is implemented within the directory - <span class="Pa">sys/dev/wscons</span>. The <code class="Nm">wsbell</code> - module itself is implement within the file - <span class="Pa">sys/dev/wscons/wsbell.c</span>. <a class="Xr">ioctl(2)</a> - operations are listed in - <span class="Pa">sys/dev/wscons/wsconsio.h</span>.</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">ioctl(2)</a>, <a class="Xr">wsbell(4)</a>, - <a class="Xr">wscons(4)</a>, <a class="Xr">wskbd(4)</a>, - <a class="Xr">autoconf(9)</a>, <a class="Xr">driver(9)</a>, - <a class="Xr">intro(9)</a>, <a class="Xr">wscons(9)</a>, - <a class="Xr">wsdisplay(9)</a>, <a class="Xr">wskbd(9)</a></p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">June 30, 2017</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
