/usr/share/doc/pcre-devel/html
NameSizeModeActions
index.html76770644editdlrm
NON-AUTOTOOLS-BUILD.txt313590644editdlrm
pcre-config.html36590644editdlrm
pcre.html103820644editdlrm
pcre16.html162140644editdlrm
pcre32.html160980644editdlrm
pcreapi.html1353540644editdlrm
pcrebuild.html228380644editdlrm
pcrecallout.html116750644editdlrm
pcrecompat.html97910644editdlrm
pcrecpp.html143950644editdlrm
pcredemo.html161920644editdlrm
pcregrep.html378470644editdlrm
pcrejit.html221030644editdlrm
pcrelimits.html31950644editdlrm
pcrematching.html108980644editdlrm
pcrepartial.html235920644editdlrm
pcrepattern.html1406900644editdlrm
pcreperform.html78270644editdlrm
pcreposix.html121390644editdlrm
pcreprecompile.html73990644editdlrm
pcresample.html37840644editdlrm
pcrestack.html95940644editdlrm
pcresyntax.html166940644editdlrm
pcretest.html521870644editdlrm
pcreunicode.html114440644editdlrm
pcre_assign_jit_stack.html25410644editdlrm
pcre_compile.html47350644editdlrm
pcre_compile2.html49070644editdlrm
pcre_config.html39380644editdlrm
pcre_copy_named_substring.html23590644editdlrm
pcre_copy_substring.html21150644editdlrm
pcre_dfa_exec.html59690644editdlrm
pcre_exec.html50590644editdlrm
pcre_free_study.html12310644editdlrm
pcre_free_substring.html12830644editdlrm
pcre_free_substring_list.html12890644editdlrm
pcre_fullinfo.html51500644editdlrm
pcre_get_named_substring.html24600644editdlrm
pcre_get_stringnumber.html17730644editdlrm
pcre_get_stringtable_entries.html20620644editdlrm
pcre_get_substring.html22430644editdlrm
pcre_get_substring_list.html21980644editdlrm
pcre_jit_exec.html48140644editdlrm
pcre_jit_stack_alloc.html17200644editdlrm
pcre_jit_stack_free.html12790644editdlrm
pcre_maketables.html13970644editdlrm
pcre_pattern_to_host_byte_order.html19600644editdlrm
pcre_refcount.html14420644editdlrm
pcre_study.html21460644editdlrm
pcre_utf16_to_host_byte_order.html20330644editdlrm
pcre_utf32_to_host_byte_order.html20330644editdlrm
pcre_version.html11720644editdlrm
README.txt455480644editdlrm
Edit: /usr/share/doc/pcre-devel/html/pcre_config.html (3938B)
pcre_config specification

pcre_config man page

Return to the PCRE index page.

This page is part of the PCRE HTML documentation. It was generated automatically from the original man page. If there is any nonsense in it, please consult the man page, in case the conversion went wrong.

SYNOPSIS

#include <pcre.h>

int pcre_config(int what, void *where);

int pcre16_config(int what, void *where);

int pcre32_config(int what, void *where);


DESCRIPTION

This function makes it possible for a client program to find out which optional features are available in the version of the PCRE library it is using. The arguments are as follows:

  what     A code specifying what information is required
  where    Points to where to put the data
The where argument must point to an integer variable, except for PCRE_CONFIG_MATCH_LIMIT, PCRE_CONFIG_MATCH_LIMIT_RECURSION, and PCRE_CONFIG_PARENS_LIMIT, when it must point to an unsigned long integer, and for PCRE_CONFIG_JITTARGET, when it must point to a const char*. The available codes are:
  PCRE_CONFIG_JIT           Availability of just-in-time compiler
                              support (1=yes 0=no)
  PCRE_CONFIG_JITTARGET     String containing information about the
                              target architecture for the JIT compiler,
                              or NULL if there is no JIT support
  PCRE_CONFIG_LINK_SIZE     Internal link size: 2, 3, or 4
  PCRE_CONFIG_PARENS_LIMIT  Parentheses nesting limit
  PCRE_CONFIG_MATCH_LIMIT   Internal resource limit
  PCRE_CONFIG_MATCH_LIMIT_RECURSION
                            Internal recursion depth limit
  PCRE_CONFIG_NEWLINE       Value of the default newline sequence:
                                13 (0x000d)    for CR
                                10 (0x000a)    for LF
                              3338 (0x0d0a)    for CRLF
                                -2             for ANYCRLF
                                -1             for ANY
  PCRE_CONFIG_BSR           Indicates what \R matches by default:
                                 0             all Unicode line endings
                                 1             CR, LF, or CRLF only
  PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
                            Threshold of return slots, above which
                              malloc() is used by the POSIX API
  PCRE_CONFIG_STACKRECURSE  Recursion implementation (1=stack 0=heap)
  PCRE_CONFIG_UTF16         Availability of UTF-16 support (1=yes
                               0=no); option for pcre16_config()
  PCRE_CONFIG_UTF32         Availability of UTF-32 support (1=yes
                               0=no); option for pcre32_config()
  PCRE_CONFIG_UTF8          Availability of UTF-8 support (1=yes 0=no);
                              option for pcre_config()
  PCRE_CONFIG_UNICODE_PROPERTIES
                            Availability of Unicode property support
                              (1=yes 0=no)
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. That error is also given if PCRE_CONFIG_UTF16 or PCRE_CONFIG_UTF32 is passed to pcre_config(), if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 is passed to pcre16_config(), or if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF16 is passed to pcre32_config().

There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page.

Return to the PCRE index page.