chiark / gitweb /
Merge from existing archive branch
[pcre3.git] / doc / html / pcre_refcount.html
1 <html>
2 <head>
3 <title>pcre_refcount specification</title>
4 </head>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 <h1>pcre_refcount man page</h1>
7 <p>
8 Return to the <a href="index.html">PCRE index page</a>.
9 </p>
10 <p>
11 This page is part of the PCRE HTML documentation. It was generated automatically
12 from the original man page. If there is any nonsense in it, please consult the
13 man page, in case the conversion went wrong.
14 <br>
15 <br><b>
16 SYNOPSIS
17 </b><br>
18 <P>
19 <b>#include &#60;pcre.h&#62;</b>
20 </P>
21 <P>
22 <b>int pcre_refcount(pcre *<i>code</i>, int <i>adjust</i>);</b>
23 </P>
24 <P>
25 <b>int pcre16_refcount(pcre16 *<i>code</i>, int <i>adjust</i>);</b>
26 </P>
27 <P>
28 <b>int pcre32_refcount(pcre32 *<i>code</i>, int <i>adjust</i>);</b>
29 </P>
30 <br><b>
31 DESCRIPTION
32 </b><br>
33 <P>
34 This function is used to maintain a reference count inside a data block that
35 contains a compiled pattern. Its arguments are:
36 <pre>
37   <i>code</i>                      Compiled regular expression
38   <i>adjust</i>                    Adjustment to reference value
39 </pre>
40 The yield of the function is the adjusted reference value, which is constrained
41 to lie between 0 and 65535.
42 </P>
43 <P>
44 There is a complete description of the PCRE native API in the
45 <a href="pcreapi.html"><b>pcreapi</b></a>
46 page and a description of the POSIX API in the
47 <a href="pcreposix.html"><b>pcreposix</b></a>
48 page.
49 <p>
50 Return to the <a href="index.html">PCRE index page</a>.
51 </p>