summaryrefslogtreecommitdiff
path: root/static/netbsd/man9/pmatch.9 3.html
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:59:05 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:59:05 -0400
commit1f19f33e45791ea59aed048796fc68672c6723a5 (patch)
tree54625fba89e91d1c2177801ec635e8528bba937f /static/netbsd/man9/pmatch.9 3.html
parentac5e55f5f2af5b92794c2aded46c6bae85b5f5ed (diff)
docs: Removed Precompiled HTML
Diffstat (limited to 'static/netbsd/man9/pmatch.9 3.html')
-rw-r--r--static/netbsd/man9/pmatch.9 3.html59
1 files changed, 0 insertions, 59 deletions
diff --git a/static/netbsd/man9/pmatch.9 3.html b/static/netbsd/man9/pmatch.9 3.html
deleted file mode 100644
index 54a90803..00000000
--- a/static/netbsd/man9/pmatch.9 3.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">PMATCH(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">PMATCH(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">pmatch</code> &#x2014; <span class="Nd">performs
- pattern matching on strings</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/systm.h</a>&gt;</code></p>
-<p class="Pp"><var class="Ft">int</var>
- <br/>
- <code class="Fn">pmatch</code>(<var class="Fa" style="white-space: nowrap;">const
- char *string</var>, <var class="Fa" style="white-space: nowrap;">const char
- *pattern</var>, <var class="Fa" style="white-space: nowrap;">const char
- **estr</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">Extract substring matching <var class="Fa">pattern</var> from
- <var class="Fa">string</var>. If not <code class="Dv">NULL</code>,
- <var class="Fa">estr</var> points to the end of the longest exact or
- substring match.</p>
-<p class="Pp" id="pmatch"><a class="permalink" href="#pmatch"><code class="Fn">pmatch</code></a>()
- uses the following metacharacters:</p>
-<dl class="Bl-tag">
- <dt id="?"><a class="permalink" href="#?"><code class="Li">?</code></a></dt>
- <dd>match any single character.</dd>
- <dt id="*"><a class="permalink" href="#*"><code class="Li">*</code></a></dt>
- <dd>match any character 0 or more times.</dd>
- <dt id="_"><a class="permalink" href="#_"><code class="Li">[</code></a></dt>
- <dd>define a range of characters that will match. The range is defined by 2
- characters separated by a &#x2018;<code class="Li">-</code>&#x2019;. The
- range definition has to end with a
- &#x2018;<code class="Li">]</code>&#x2019;. A
- &#x2018;<code class="Li">^</code>&#x2019; following the
- &#x2018;<code class="Li">[</code>&#x2019; will negate the range.</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
- VALUES</a></h1>
-<p class="Pp"><code class="Fn">pmatch</code>() will return 2 for an exact match,
- 1 for a substring match, 0 for no match and -1 if an error occurs.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">October 12, 2003</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>