blob: 6ab9f4fee7961413aeffd07d73a69c184fc33939 [file] [log] [blame]
Tristan Matthews04616462013-11-14 16:09:34 -05001.TH PCRE_REFCOUNT 3
2.SH NAME
3PCRE - Perl-compatible regular expressions
4.SH SYNOPSIS
5.rs
6.sp
7.B #include <pcre.h>
8.PP
9.SM
10.B int pcre_refcount(pcre *\fIcode\fP, int \fIadjust\fP);
11.
12.SH DESCRIPTION
13.rs
14.sp
15This function is used to maintain a reference count inside a data block that
16contains a compiled pattern. Its arguments are:
17.sp
18 \fIcode\fP Compiled regular expression
19 \fIadjust\fP Adjustment to reference value
20.sp
21The yield of the function is the adjusted reference value, which is constrained
22to lie between 0 and 65535.
23.P
24There is a complete description of the PCRE native API in the
25.\" HREF
26\fBpcreapi\fP
27.\"
28page and a description of the POSIX API in the
29.\" HREF
30\fBpcreposix\fP
31.\"
32page.