/[pcre]/code/trunk/doc/pcre_config.3
ViewVC logotype

Contents of /code/trunk/doc/pcre_config.3

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93 - (show annotations) (download)
Sat Feb 24 21:41:42 2007 UTC (7 years, 8 months ago) by nigel
File size: 1756 byte(s)
Load pcre-7.0 into code/trunk.

1 .TH PCRE_CONFIG 3
2 .SH NAME
3 PCRE - Perl-compatible regular expressions
4 .SH SYNOPSIS
5 .rs
6 .sp
7 .B #include <pcre.h>
8 .PP
9 .SM
10 .br
11 .B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP);
12 .
13 .SH DESCRIPTION
14 .rs
15 .sp
16 This function makes it possible for a client program to find out which optional
17 features are available in the version of the PCRE library it is using. Its
18 arguments are as follows:
19 .sp
20 \fIwhat\fR A code specifying what information is required
21 \fIwhere\fR Points to where to put the data
22 .sp
23 The available codes are:
24 .sp
25 PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
26 PCRE_CONFIG_MATCH_LIMIT Internal resource limit
27 PCRE_CONFIG_MATCH_LIMIT_RECURSION
28 Internal recursion depth limit
29 PCRE_CONFIG_NEWLINE Value of the newline sequence:
30 13 (0x000d) for CR
31 10 (0x000a) for LF
32 3338 (0x0d0a) for CRLF
33 -1 for ANY
34 PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
35 Threshold of return slots, above
36 which \fBmalloc()\fR is used by
37 the POSIX API
38 PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
39 PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no)
40 PCRE_CONFIG_UNICODE_PROPERTIES
41 Availability of Unicode property support
42 (1=yes 0=no)
43 .sp
44 The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise.
45 .P
46 There is a complete description of the PCRE native API in the
47 .\" HREF
48 \fBpcreapi\fR
49 .\"
50 page and a description of the POSIX API in the
51 .\" HREF
52 \fBpcreposix\fR
53 .\"
54 page.

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12