| 1 |
nigel |
63 |
<html> |
| 2 |
|
|
<head> |
| 3 |
|
|
<title>pcre_config specification</title> |
| 4 |
|
|
</head> |
| 5 |
|
|
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> |
| 6 |
nigel |
75 |
<h1>pcre_config man page</h1> |
| 7 |
|
|
<p> |
| 8 |
|
|
Return to the <a href="index.html">PCRE index page</a>. |
| 9 |
|
|
</p> |
| 10 |
ph10 |
111 |
<p> |
| 11 |
nigel |
75 |
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. |
| 14 |
ph10 |
111 |
<br> |
| 15 |
nigel |
63 |
<br><b> |
| 16 |
|
|
SYNOPSIS |
| 17 |
|
|
</b><br> |
| 18 |
|
|
<P> |
| 19 |
|
|
<b>#include <pcre.h></b> |
| 20 |
|
|
</P> |
| 21 |
|
|
<P> |
| 22 |
|
|
<b>int pcre_config(int <i>what</i>, void *<i>where</i>);</b> |
| 23 |
|
|
</P> |
| 24 |
|
|
<br><b> |
| 25 |
|
|
DESCRIPTION |
| 26 |
|
|
</b><br> |
| 27 |
|
|
<P> |
| 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: |
| 31 |
|
|
<pre> |
| 32 |
|
|
<i>what</i> A code specifying what information is required |
| 33 |
|
|
<i>where</i> Points to where to put the data |
| 34 |
nigel |
75 |
</pre> |
| 35 |
nigel |
63 |
The available codes are: |
| 36 |
|
|
<pre> |
| 37 |
nigel |
73 |
PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4 |
| 38 |
|
|
PCRE_CONFIG_MATCH_LIMIT Internal resource limit |
| 39 |
nigel |
87 |
PCRE_CONFIG_MATCH_LIMIT_RECURSION |
| 40 |
|
|
Internal recursion depth limit |
| 41 |
ph10 |
231 |
PCRE_CONFIG_NEWLINE Value of the default newline sequence: |
| 42 |
nigel |
93 |
13 (0x000d) for CR |
| 43 |
|
|
10 (0x000a) for LF |
| 44 |
|
|
3338 (0x0d0a) for CRLF |
| 45 |
ph10 |
150 |
-2 for ANYCRLF |
| 46 |
nigel |
93 |
-1 for ANY |
| 47 |
ph10 |
231 |
PCRE_CONFIG_BSR Indicates what \R matches by default: |
| 48 |
|
|
0 all Unicode line endings |
| 49 |
|
|
1 CR, LF, or CRLF only |
| 50 |
nigel |
63 |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD |
| 51 |
nigel |
73 |
Threshold of return slots, above |
| 52 |
|
|
which <b>malloc()</b> is used by |
| 53 |
|
|
the POSIX API |
| 54 |
|
|
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap) |
| 55 |
|
|
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no) |
| 56 |
nigel |
75 |
PCRE_CONFIG_UNICODE_PROPERTIES |
| 57 |
|
|
Availability of Unicode property support |
| 58 |
|
|
(1=yes 0=no) |
| 59 |
|
|
</pre> |
| 60 |
nigel |
63 |
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. |
| 61 |
|
|
</P> |
| 62 |
|
|
<P> |
| 63 |
|
|
There is a complete description of the PCRE native API in the |
| 64 |
|
|
<a href="pcreapi.html"><b>pcreapi</b></a> |
| 65 |
nigel |
75 |
page and a description of the POSIX API in the |
| 66 |
nigel |
63 |
<a href="pcreposix.html"><b>pcreposix</b></a> |
| 67 |
|
|
page. |
| 68 |
nigel |
75 |
<p> |
| 69 |
|
|
Return to the <a href="index.html">PCRE index page</a>. |
| 70 |
|
|
</p> |