PCRE_PATTERN_TO_HOST_BYTE_ORLDiEbRr(a3r)y FunctionsPMCaRnEu_aPlATTERN_TO_HOST_BYTE_ORDER(3) NNAAMMEE PCRE - Perl-compatible regular expressions SSYYNNOOPPSSIISS ##iinncclluuddee <> iinntt ppccrree__ppaatttteerrnn__ttoo__hhoosstt__bbyyttee__oorrddeerr((ppccrree **_c_o_d_e,, ppccrree__eexxttrraa **_e_x_t_r_a,, ccoonnsstt uunnssiiggnneedd cchhaarr **_t_a_b_l_e_s));; iinntt ppccrree1166__ppaatttteerrnn__ttoo__hhoosstt__bbyyttee__oorrddeerr((ppccrree1166 **_c_o_d_e,, ppccrree1166__eexxttrraa **_e_x_t_r_a,, ccoonnsstt uunnssiiggnneedd cchhaarr **_t_a_b_l_e_s));; iinntt ppccrree3322__ppaatttteerrnn__ttoo__hhoosstt__bbyyttee__oorrddeerr((ppccrree3322 **_c_o_d_e,, ppccrree3322__eexxttrraa **_e_x_t_r_a,, ccoonnsstt uunnssiiggnneedd cchhaarr **_t_a_b_l_e_s));; DDEESSCCRRIIPPTTIIOONN 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: _c_o_d_e A compiled regular expression _e_x_t_r_a Points to an associated ppccrree[[1166||3322]]__eexxttrraa structure, or is NULL _t_a_b_l_e_s 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 ppccrreeaappii page and a description of the POSIX API in the ppccrreeppoossiixx page. PCRE 8.30 24 June 2012PCRE_PATTERN_TO_HOST_BYTE_ORDER(3)