ss="memdoc">

<p>Register a new text device file in devfs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the device file (e.g., "debug"). </td></tr>
    <tr><td class="paramname">update_cb</td><td>Periodic update callback (may be NULL if not needed). </td></tr>
    <tr><td class="paramname">read_cb</td><td>Read callback (must not be NULL).</td></tr>
  </table>
  </dd>
</dl>
<p>The file will appear under <code>/devices/&lt;name&gt;