1PCRE_REFCOUNT(3) Library Functions Manual PCRE_REFCOUNT(3)
2
3
4
6 PCRE - Perl-compatible regular expressions
7
9
10 #include <pcre.h>
11
12 int pcre_refcount(pcre *code, int adjust);
13
14 int pcre16_refcount(pcre16 *code, int adjust);
15
16 int pcre32_refcount(pcre32 *code, int adjust);
17
19
20 This function is used to maintain a reference count inside a data block
21 that contains a compiled pattern. Its arguments are:
22
23 code Compiled regular expression
24 adjust Adjustment to reference value
25
26 The yield of the function is the adjusted reference value, which is
27 constrained to lie between 0 and 65535.
28
29 There is a complete description of the PCRE native API in the pcreapi
30 page and a description of the POSIX API in the pcreposix page.
31
32
33
34PCRE 8.30 24 June 2012 PCRE_REFCOUNT(3)