3 <title>pcre_config specification</title>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 <h1>pcre_config man page</h1>
8 Return to the <a href="index.html">PCRE index page</a>.
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.
19 <b>#include <pcre.h></b>
22 <b>int pcre_config(int <i>what</i>, void *<i>where</i>);</b>
28 This function makes it possible for a client program to find out which optional
29 features are available in the version of the PCRE library it is using. Its
30 arguments are as follows:
32 <i>what</i> A code specifying what information is required
33 <i>where</i> Points to where to put the data
35 The available codes are:
37 PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
38 PCRE_CONFIG_MATCH_LIMIT Internal resource limit
39 PCRE_CONFIG_MATCH_LIMIT_RECURSION
40 Internal recursion depth limit
41 PCRE_CONFIG_NEWLINE Value of the default newline sequence:
44 3338 (0x0d0a) for CRLF
47 PCRE_CONFIG_BSR Indicates what \R matches by default:
48 0 all Unicode line endings
49 1 CR, LF, or CRLF only
50 PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
51 Threshold of return slots, above
52 which <b>malloc()</b> is used by
54 PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
55 PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no)
56 PCRE_CONFIG_UNICODE_PROPERTIES
57 Availability of Unicode property support
60 The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise.
63 There is a complete description of the PCRE native API in the
64 <a href="pcreapi.html"><b>pcreapi</b></a>
65 page and a description of the POSIX API in the
66 <a href="pcreposix.html"><b>pcreposix</b></a>
69 Return to the <a href="index.html">PCRE index page</a>.