This file is indexed.

/usr/share/doc/libcomedi-dev/html/func-ref-comedi-errno.html is in libcomedi-dev 0.10.2-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>comedi_errno</title><link rel="stylesheet" type="text/css" href="comedilib.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Comedi"><link rel="up" href="functionreference.html#idm45927347793456" title="5.4.5.&#160;Error reporting"><link rel="prev" href="func-ref-comedi-dio-write.html" title="comedi_dio_write"><link rel="next" href="func-ref-comedi-loglevel.html" title="comedi_loglevel"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">comedi_errno</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="func-ref-comedi-dio-write.html">Prev</a>&#160;</td><th width="60%" align="center">5.4.5.&#160;Error reporting</th><td width="20%" align="right">&#160;<a accesskey="n" href="func-ref-comedi-loglevel.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="func-ref-comedi-errno"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>comedi_errno &#8212; number of last Comedilib error</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;comedilib.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">comedi_errno</b>(</code></td><td><code>void)</code>;</td><td>&#160;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idm45927348070656"></a><h2>
      Description
    </h2><p>
When a Comedilib function fails, it usually returns <code class="literal">-1</code> or
<code class="constant">NULL</code>, depending on the return type.  An internal library
variable stores an error number, which can be retrieved by calling
<code class="function">comedi_errno</code>  This error number can be converted to a
human-readable form by the functions
<code class="function"><a class="link" href="func-ref-comedi-perror.html" title="comedi_perror">comedi_perror</a></code>
and
<code class="function"><a class="link" href="func-ref-comedi-strerror.html" title="comedi_strerror">comedi_strerror</a></code>.
</p><p>
These functions are intended to mimic the behavior of the
standard C library functions <code class="function">perror</code>,
<code class="function">strerror</code>, and <code class="varname">errno</code>.
In particular, Comedilib functions sometimes return an error
that is generated inside the C library; the comedi error
message in this case is the same as the C library.
</p><p>
The function <code class="function">comedi_errno</code> returns an integer describing
the most recent Comedilib error.  This integer may be used
as the <em class="parameter"><code>errnum</code></em> parameter for
<code class="function">comedi_strerror</code>.
</p><p>
    </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="func-ref-comedi-dio-write.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="functionreference.html#idm45927347793456">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="func-ref-comedi-loglevel.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">comedi_dio_write&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;comedi_loglevel</td></tr></table></div></body></html>