/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_assign_jit_stack.html (2541B)
pcre_assign_jit_stack specification

pcre_assign_jit_stack 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>

void pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *data);

void pcre16_assign_jit_stack(pcre16_extra *extra, pcre16_jit_callback callback, void *data);

void pcre32_assign_jit_stack(pcre32_extra *extra, pcre32_jit_callback callback, void *data);


DESCRIPTION

This function provides control over the memory used as a stack at run-time by a call to pcre[16|32]_exec() with a pattern that has been successfully compiled with JIT optimization. The arguments are:

  extra     the data pointer returned by pcre[16|32]_study()
  callback  a callback function
  data      a JIT stack or a value to be passed to the callback
              function

If callback is NULL and data is NULL, an internal 32K block on the machine stack is used.

If callback is NULL and data is not NULL, data must be a valid JIT stack, the result of calling pcre[16|32]_jit_stack_alloc().

If callback not NULL, it is called with data as an argument at the start of matching, in order to set up a JIT stack. If the result is NULL, the internal 32K stack is used; otherwise the return value must be a valid JIT stack, the result of calling pcre[16|32]_jit_stack_alloc().

You may safely assign the same JIT stack to multiple patterns, as long as they are all matched in the same thread. In a multithread application, each thread must use its own JIT stack. For more details, see the pcrejit page.

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.