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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 79 by nigel, Sat Feb 24 21:40:52 2007 UTC revision 678 by ph10, Sun Aug 28 15:23:03 2011 UTC
# Line 7  PCRE - Perl-compatible regular expressio Line 7  PCRE - Perl-compatible regular expressio
7  .B #include <pcre.h>  .B #include <pcre.h>
8  .PP  .PP
9  .SM  .SM
 .br  
10  .B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP);  .B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP);
11  .  .
12  .SH DESCRIPTION  .SH DESCRIPTION
13  .rs  .rs
14  .sp  .sp
15  This function makes it possible for a client program to find out which optional  This function makes it possible for a client program to find out which optional
16  features are available in the version of the PCRE library it is using. Its  features are available in the version of the PCRE library it is using. The
17  arguments are as follows:  arguments are as follows:
18  .sp  .sp
19    \fIwhat\fR     A code specifying what information is required    \fIwhat\fP     A code specifying what information is required
20    \fIwhere\fR    Points to where to put the data    \fIwhere\fP    Points to where to put the data
21  .sp  .sp
22  The available codes are:  The \fIwhere\fP argument must point to an integer variable, except for
23    PCRE_CONFIG_MATCH_LIMIT and PCRE_CONFIG_MATCH_LIMIT_RECURSION, when it must
24    point to an unsigned long integer. The available codes are:
25  .sp  .sp
26      PCRE_CONFIG_JIT           Availability of just-in-time compiler
27                                  support (1=yes 0=no)
28    PCRE_CONFIG_LINK_SIZE     Internal link size: 2, 3, or 4    PCRE_CONFIG_LINK_SIZE     Internal link size: 2, 3, or 4
29    PCRE_CONFIG_MATCH_LIMIT   Internal resource limit    PCRE_CONFIG_MATCH_LIMIT   Internal resource limit
30    PCRE_CONFIG_NEWLINE       Value of the newline character    PCRE_CONFIG_MATCH_LIMIT_RECURSION
31                                Internal recursion depth limit
32      PCRE_CONFIG_NEWLINE       Value of the default newline sequence:
33                                    13 (0x000d)    for CR
34                                    10 (0x000a)    for LF
35                                  3338 (0x0d0a)    for CRLF
36                                    -2             for ANYCRLF
37                                    -1             for ANY
38      PCRE_CONFIG_BSR           Indicates what \eR matches by default:
39                                     0             all Unicode line endings
40                                     1             CR, LF, or CRLF only
41    PCRE_CONFIG_POSIX_MALLOC_THRESHOLD    PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
42                              Threshold of return slots, above                              Threshold of return slots, above which
43                                which \fBmalloc()\fR is used by                                \fBmalloc()\fP is used by the POSIX API
                               the POSIX API  
44    PCRE_CONFIG_STACKRECURSE  Recursion implementation (1=stack 0=heap)    PCRE_CONFIG_STACKRECURSE  Recursion implementation (1=stack 0=heap)
45    PCRE_CONFIG_UTF8          Availability of UTF-8 support (1=yes 0=no)    PCRE_CONFIG_UTF8          Availability of UTF-8 support (1=yes 0=no)
46    PCRE_CONFIG_UNICODE_PROPERTIES    PCRE_CONFIG_UNICODE_PROPERTIES
# Line 39  The function yields 0 on success or PCRE Line 51  The function yields 0 on success or PCRE
51  .P  .P
52  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the
53  .\" HREF  .\" HREF
54  \fBpcreapi\fR  \fBpcreapi\fP
55  .\"  .\"
56  page and a description of the POSIX API in the  page and a description of the POSIX API in the
57  .\" HREF  .\" HREF
58  \fBpcreposix\fR  \fBpcreposix\fP
59  .\"  .\"
60  page.  page.

Legend:
Removed from v.79  
changed lines
  Added in v.678

  ViewVC Help
Powered by ViewVC 1.1.5