Annotation of embedaddon/pcre/doc/html/pcre_config.html, revision 1.1.1.3
1.1 misho 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: <h1>pcre_config man page</h1>
7: <p>
8: Return to the <a href="index.html">PCRE index page</a>.
9: </p>
10: <p>
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.
14: <br>
15: <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>
1.1.1.2 misho 24: <P>
25: <b>int pcre16_config(int <i>what</i>, void *<i>where</i>);</b>
26: </P>
1.1.1.3 ! misho 27: <P>
! 28: <b>int pcre32_config(int <i>what</i>, void *<i>where</i>);</b>
! 29: </P>
1.1 misho 30: <br><b>
31: DESCRIPTION
32: </b><br>
33: <P>
34: This function makes it possible for a client program to find out which optional
35: features are available in the version of the PCRE library it is using. The
36: arguments are as follows:
37: <pre>
38: <i>what</i> A code specifying what information is required
39: <i>where</i> Points to where to put the data
40: </pre>
41: The <i>where</i> argument must point to an integer variable, except for
42: PCRE_CONFIG_MATCH_LIMIT and PCRE_CONFIG_MATCH_LIMIT_RECURSION, when it must
43: point to an unsigned long integer. The available codes are:
44: <pre>
45: PCRE_CONFIG_JIT Availability of just-in-time compiler
46: support (1=yes 0=no)
1.1.1.2 misho 47: PCRE_CONFIG_JITTARGET String containing information about the
48: target architecture for the JIT compiler,
49: or NULL if there is no JIT support
1.1 misho 50: PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
51: PCRE_CONFIG_MATCH_LIMIT Internal resource limit
52: PCRE_CONFIG_MATCH_LIMIT_RECURSION
53: Internal recursion depth limit
54: PCRE_CONFIG_NEWLINE Value of the default newline sequence:
55: 13 (0x000d) for CR
56: 10 (0x000a) for LF
57: 3338 (0x0d0a) for CRLF
58: -2 for ANYCRLF
59: -1 for ANY
60: PCRE_CONFIG_BSR Indicates what \R matches by default:
61: 0 all Unicode line endings
62: 1 CR, LF, or CRLF only
63: PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
64: Threshold of return slots, above which
65: <b>malloc()</b> is used by the POSIX API
66: PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
1.1.1.2 misho 67: PCRE_CONFIG_UTF16 Availability of UTF-16 support (1=yes
68: 0=no); option for <b>pcre16_config()</b>
1.1.1.3 ! misho 69: PCRE_CONFIG_UTF32 Availability of UTF-32 support (1=yes
! 70: 0=no); option for <b>pcre32_config()</b>
1.1.1.2 misho 71: PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no);
72: option for <b>pcre_config()</b>
1.1 misho 73: PCRE_CONFIG_UNICODE_PROPERTIES
74: Availability of Unicode property support
75: (1=yes 0=no)
76: </pre>
1.1.1.2 misho 77: The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. That error
1.1.1.3 ! misho 78: is also given if PCRE_CONFIG_UTF16 or PCRE_CONFIG_UTF32 is passed to
! 79: <b>pcre_config()</b>, if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 is passed to
! 80: <b>pcre16_config()</b>, or if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF16 is passed to
! 81: <b>pcre32_config()</b>.
1.1 misho 82: </P>
83: <P>
84: There is a complete description of the PCRE native API in the
85: <a href="pcreapi.html"><b>pcreapi</b></a>
86: page and a description of the POSIX API in the
87: <a href="pcreposix.html"><b>pcreposix</b></a>
88: page.
89: <p>
90: Return to the <a href="index.html">PCRE index page</a>.
91: </p>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>