path: root/doc/html/pcre_pattern_to_host_byte_order.html
diff options
authorIan Jackson <>2016-07-13 21:24:43 +0100
committerIan Jackson <>2016-07-13 21:24:43 +0100
commitcba4af1b7643b0da036ff78fd152f74a906c4e97 (patch)
tree84f90cc1a9542b2f374932b04ea0752eabbd3741 /doc/html/pcre_pattern_to_host_byte_order.html
Commit upstream pcre-8.39.tar.bz2
Diffstat (limited to 'doc/html/pcre_pattern_to_host_byte_order.html')
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/html/pcre_pattern_to_host_byte_order.html b/doc/html/pcre_pattern_to_host_byte_order.html
new file mode 100644
index 0000000..1b1c803
--- /dev/null
+++ b/doc/html/pcre_pattern_to_host_byte_order.html
@@ -0,0 +1,58 @@
+<title>pcre_pattern_to_host_byte_order specification</title>
+<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
+<h1>pcre_pattern_to_host_byte_order man page</h1>
+Return to the <a href="index.html">PCRE index page</a>.
+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.
+<b>#include &#60;pcre.h&#62;</b>
+<b>int pcre_pattern_to_host_byte_order(pcre *<i>code</i>,</b>
+<b> pcre_extra *<i>extra</i>, const unsigned char *<i>tables</i>);</b>
+<b>int pcre16_pattern_to_host_byte_order(pcre16 *<i>code</i>,</b>
+<b> pcre16_extra *<i>extra</i>, const unsigned char *<i>tables</i>);</b>
+<b>int pcre32_pattern_to_host_byte_order(pcre32 *<i>code</i>,</b>
+<b> pcre32_extra *<i>extra</i>, const unsigned char *<i>tables</i>);</b>
+This function ensures that the bytes in 2-byte and 4-byte values in a compiled
+pattern are in the correct order for the current host. It is useful when a
+pattern that has been compiled on one host is transferred to another that might
+have different endianness. The arguments are:
+ <i>code</i> A compiled regular expression
+ <i>extra</i> Points to an associated <b>pcre[16|32]_extra</b> structure,
+ or is NULL
+ <i>tables</i> Pointer to character tables, or NULL to
+ set the built-in default
+The result is 0 for success, a negative PCRE_ERROR_xxx value otherwise.
+There is a complete description of the PCRE native API in the
+<a href="pcreapi.html"><b>pcreapi</b></a>
+page and a description of the POSIX API in the
+<a href="pcreposix.html"><b>pcreposix</b></a>
+Return to the <a href="index.html">PCRE index page</a>.