summaryrefslogtreecommitdiff
path: root/static/netbsd/man9/errno.9 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man9/errno.9 3.html')
-rw-r--r--static/netbsd/man9/errno.9 3.html101
1 files changed, 0 insertions, 101 deletions
diff --git a/static/netbsd/man9/errno.9 3.html b/static/netbsd/man9/errno.9 3.html
deleted file mode 100644
index 3942db0e..00000000
--- a/static/netbsd/man9/errno.9 3.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">ERRNO(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">ERRNO(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">errno</code> &#x2014; <span class="Nd">kernel
- internal error numbers</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
- &lt;<a class="In">sys/errno.h</a>&gt;</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">This section provides an overview of the error numbers used
- internally by the kernel and indicate neither success nor failure. These
- error numbers are not returned to userland code.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1>
-<p class="Pp">Kernel functions that indicate success or failure by means of
- either 0 or an <a class="Xr">errno(2)</a> value sometimes have a need to
- indicate that &#x201C;special&#x201D; handling is required at an upper layer
- or, in the case of <a class="Xr">ioctl(2)</a> processing, that
- &#x201C;nothing was wrong but the request was not handled&#x201D;. To handle
- these cases, some negative <a class="Xr">errno(2)</a> values are defined
- which are handled by the kernel before returning a different
- <a class="Xr">errno(2)</a> value to userland or simply zero.</p>
-<p class="Pp" id="not">The following is a list of the defined names and their
- meanings as given in
- <code class="In">&lt;<a class="In">errno.h</a>&gt;</code>. It is important
- to note that the value -1 is
- <a class="permalink" href="#not"><i class="Em">not</i></a> used, since it is
- commonly used to indicate generic failure and leaves it up to the caller to
- determine the action to take.</p>
-<dl class="Bl-hang">
- <dt id="Modify"><code class="Er">-2 EJUSTRETURN</code>
- <a class="permalink" href="#Modify"><i class="Em">Modify regs, just
- return</i></a>.</dt>
- <dd>No more work is required and the function should just return.</dd>
- <dt id="Restart"><code class="Er">-3 ERESTART</code>
- <a class="permalink" href="#Restart"><i class="Em">Restart
- syscall</i></a>.</dt>
- <dd>The system call should be restarted. This typically means that the machine
- dependent system call trap code will reposition the process's instruction
- pointer or program counter to re-execute the current system call with no
- other work required.</dd>
- <dt id="Operation"><code class="Er">-4 EPASSTHROUGH</code>
- <a class="permalink" href="#Operation"><i class="Em">Operation not handled
- by this layer</i></a>.</dt>
- <dd>The operation was not handled and should be passed through to another
- layer. This often occurs when processing <a class="Xr">ioctl(2)</a>
- requests since lower layer processing may not handle something that
- subsequent code at a higher level will.</dd>
- <dt id="Duplicate"><code class="Er">-5 EDUPFD</code>
- <a class="permalink" href="#Duplicate"><i class="Em">Duplicate file
- descriptor.</i></a></dt>
- <dd>This error is returned from the device open routine indicating that the
- <var class="Ar">l_dupfd</var> field contains the file descriptor
- information to be returned to the caller, instead of the file descriptor
- that has been opened already. This error is used by cloning device
- multiplexors. Cloning device multiplexors open a new file descriptor and
- associate that file descriptor with the appropriate cloned device. They
- set <var class="Ar">l_dupfd</var> to that new file descriptor and return
- <code class="Er">EDUPFD</code>. <a class="Xr">vn_open(9)</a> takes the
- file descriptor pointed to by <var class="Ar">l_dupfd</var> and arranges
- for it to be copied to the file descriptor that the open call will
- return.</dd>
- <dt id="Move"><code class="Er">-6 EMOVEFD</code>
- <a class="permalink" href="#Move"><i class="Em">Move file
- descriptor.</i></a></dt>
- <dd>This error is similar to <code class="Er">EDUPFD</code> except that the
- file descriptor in <var class="Ar">l_dupfd</var> is closed after it has
- been copied.</dd>
-</dl>
-</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">errno(2)</a>, <a class="Xr">ioctl(9)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">An <code class="Nm">errno</code> manual page appeared in
- <span class="Ux">Version&#x00A0;6 AT&amp;T UNIX</span>. This
- <code class="Nm">errno</code> manual page appeared in
- <span class="Ux">NetBSD 3.0</span>.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">December 3, 2004</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>