diff options
Diffstat (limited to 'static/netbsd/man9/scanc.9 3.html')
| -rw-r--r-- | static/netbsd/man9/scanc.9 3.html | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/static/netbsd/man9/scanc.9 3.html b/static/netbsd/man9/scanc.9 3.html deleted file mode 100644 index 89cfb775..00000000 --- a/static/netbsd/man9/scanc.9 3.html +++ /dev/null @@ -1,55 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">SCANC(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">SCANC(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">scanc</code> — <span class="Nd">use byte - string as lookup table index</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">lib/libkern/libkern.h</a>></code></p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">scanc</code>(<var class="Fa" style="white-space: nowrap;">u_int - size</var>, <var class="Fa" style="white-space: nowrap;">const u_char - *cp</var>, <var class="Fa" style="white-space: nowrap;">const u_char - table[]</var>, <var class="Fa" style="white-space: nowrap;">int - mask</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The - <a class="permalink" href="#scanc"><code class="Fn" id="scanc">scanc</code></a>() - function scans the byte string <var class="Fa">cp</var>, whose length is - <var class="Fa">size</var>. A character in the string is used as an index in - the 256-byte <var class="Fa">table</var>. If a bitwise-AND of the byte from - the table and <var class="Fa">mask</var> isn't zero or the string is - exhausted, the scan stops.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">The <code class="Fn">scanc</code>() function returns the length of - the rest of the string, including the character which made the scan stop. If - the <code class="Fn">scanc</code>() function exhausted the string, it - returns 0.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">The <code class="Fn">scanc</code>() function emulates a VAX - instruction with the same name.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">April 24, 2013</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
