| 1 |
<html>
|
| 2 |
<head>
|
| 3 |
<title>pcre_config specification</title>
|
| 4 |
</head>
|
| 5 |
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
| 6 |
This HTML document has been generated automatically from the original man page.
|
| 7 |
If there is any nonsense in it, please consult the man page, in case the
|
| 8 |
conversion went wrong.<br>
|
| 9 |
<br><b>
|
| 10 |
SYNOPSIS
|
| 11 |
</b><br>
|
| 12 |
<P>
|
| 13 |
<b>#include <pcre.h></b>
|
| 14 |
</P>
|
| 15 |
<P>
|
| 16 |
<b>int pcre_config(int <i>what</i>, void *<i>where</i>);</b>
|
| 17 |
</P>
|
| 18 |
<br><b>
|
| 19 |
DESCRIPTION
|
| 20 |
</b><br>
|
| 21 |
<P>
|
| 22 |
This function makes it possible for a client program to find out which optional
|
| 23 |
features are available in the version of the PCRE library it is using. Its
|
| 24 |
arguments are as follows:
|
| 25 |
</P>
|
| 26 |
<P>
|
| 27 |
<pre>
|
| 28 |
<i>what</i> A code specifying what information is required
|
| 29 |
<i>where</i> Points to where to put the data
|
| 30 |
</PRE>
|
| 31 |
</P>
|
| 32 |
<P>
|
| 33 |
The available codes are:
|
| 34 |
</P>
|
| 35 |
<P>
|
| 36 |
<pre>
|
| 37 |
PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
|
| 38 |
PCRE_CONFIG_MATCH_LIMIT Internal resource limit
|
| 39 |
PCRE_CONFIG_NEWLINE Value of the newline character
|
| 40 |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
|
| 41 |
Threshold of return slots, above
|
| 42 |
which <b>malloc()</b> is used by
|
| 43 |
the POSIX API
|
| 44 |
PCRE_CONFIG_UTF8 Availability of UTF-8 support
|
| 45 |
</PRE>
|
| 46 |
</P>
|
| 47 |
<P>
|
| 48 |
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise.
|
| 49 |
</P>
|
| 50 |
<P>
|
| 51 |
There is a complete description of the PCRE native API in the
|
| 52 |
<a href="pcreapi.html"><b>pcreapi</b></a>
|
| 53 |
page, and a description of the POSIX API in the
|
| 54 |
<a href="pcreposix.html"><b>pcreposix</b></a>
|
| 55 |
page.
|