new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / doc / pcre2_general_context_copy.3
1 .TH PCRE2_GENERAL_CONTEXT_COPY 3 "22 October 2014" "PCRE2 10.00"
2 .SH NAME
3 PCRE2 - Perl-compatible regular expressions (revised API)
4 .SH SYNOPSIS
5 .rs
6 .sp
7 .B #include <pcre2.h>
8 .PP
9 .nf
10 .B pcre2_general_context *pcre2_general_context_copy(
11 .B "  pcre2_general_context *\fIgcontext\fP);"
12 .fi
13 .
14 .SH DESCRIPTION
15 .rs
16 .sp
17 This function makes a new copy of a general context, using the memory
18 allocation functions in the context, if set, to get the necessary memory.
19 Otherwise \fBmalloc()\fP is used. The result is NULL if the memory cannot be
20 obtained.
21 .P
22 There is a complete description of the PCRE2 native API in the
23 .\" HREF
24 \fBpcre2api\fP
25 .\"
26 page and a description of the POSIX API in the
27 .\" HREF
28 \fBpcre2posix\fP
29 .\"
30 page.