diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-13 21:24:43 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-13 21:24:43 +0100 |
commit | cba4af1b7643b0da036ff78fd152f74a906c4e97 (patch) | |
tree | 84f90cc1a9542b2f374932b04ea0752eabbd3741 /doc/pcre_refcount.3 |
Commit upstream pcre-8.39.tar.bz2
Diffstat (limited to 'doc/pcre_refcount.3')
-rw-r--r-- | doc/pcre_refcount.3 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/pcre_refcount.3 b/doc/pcre_refcount.3 new file mode 100644 index 0000000..45a41fe --- /dev/null +++ b/doc/pcre_refcount.3 @@ -0,0 +1,36 @@ +.TH PCRE_REFCOUNT 3 "24 June 2012" "PCRE 8.30" +.SH NAME +PCRE - Perl-compatible regular expressions +.SH SYNOPSIS +.rs +.sp +.B #include <pcre.h> +.PP +.SM +.B int pcre_refcount(pcre *\fIcode\fP, int \fIadjust\fP); +.PP +.B int pcre16_refcount(pcre16 *\fIcode\fP, int \fIadjust\fP); +.PP +.B int pcre32_refcount(pcre32 *\fIcode\fP, int \fIadjust\fP); +. +.SH DESCRIPTION +.rs +.sp +This function is used to maintain a reference count inside a data block that +contains a compiled pattern. Its arguments are: +.sp + \fIcode\fP Compiled regular expression + \fIadjust\fP Adjustment to reference value +.sp +The yield of the function is the adjusted reference value, which is constrained +to lie between 0 and 65535. +.P +There is a complete description of the PCRE native API in the +.\" HREF +\fBpcreapi\fP +.\" +page and a description of the POSIX API in the +.\" HREF +\fBpcreposix\fP +.\" +page. |