pcre_assign_jit_stack man page on Haiku

Printed from http://www.polarhome.com/service/man/?qf=pcre_assign_jit_stack&af=0&tf=2&of=Haiku

PCRE_ASSIGN_JIT_STACK(3)			      PCRE_ASSIGN_JIT_STACK(3)

NAME
       PCRE - Perl-compatible regular expressions

SYNOPSIS

       #include <pcre.h>

       void pcre_assign_jit_stack(pcre_extra *extra,
	    pcre_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_exec() with a pattern that has been successfully
       compiled with JIT optimization. The arguments are:

	 extra	   the data pointer returned by pcre_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_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_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 applica‐
       tion, 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.

						      PCRE_ASSIGN_JIT_STACK(3)
[top]

List of man pages available for Haiku

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net