pcre_utf16_to_host_byte_order (3) Linux Manual Page
PCRE – Perl-compatible regular expressions
Synopsis
#include <pcre.h>
int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *output,
PCRE_SPTR16 input, int length, int *host_byte_order,
int keep_boms);
Description
This function, which exists only in the 16-bit library, converts a UTF-16 string to the correct order for the current host, taking account of any byte order marks (BOMs) within the string. Its arguments are:
pcreapi page and a description of the POSIX API in the pcreposix page.
