'\" te .TH PCRE_UTF32_TO_HOST_BYTE_ORDER 3 "24 June 2012" "PCRE 8.30" .SH NAME PCRE - Perl-compatible regular expressions .SH SYNOPSIS .rs .sp .B #include .PP .nf .B int pcre32_utf32_to_host_byte_order(PCRE_UCHAR32 *\fIoutput\fP, .B " PCRE_SPTR32 \fIinput\fP, int \fIlength\fP, int *\fIhost_byte_order\fP," .B " int \fIkeep_boms\fP);" .fi . . .SH DESCRIPTION .rs .sp This function, which exists only in the 32-bit library, converts a UTF-32 string to the correct order for the current host, taking account of any byte order marks (BOMs) within the string. Its arguments are: .sp \fIoutput\fP pointer to output buffer, may be the same as \fIinput\fP \fIinput\fP pointer to input buffer \fIlength\fP number of 32-bit units in the input, or negative for a zero-terminated string \fIhost_byte_order\fP a NULL value or a non-zero value pointed to means start in host byte order \fIkeep_boms\fP if non-zero, BOMs are copied to the output string .sp The result of the function is the number of 32-bit units placed into the output buffer, including the zero terminator if the string was zero-terminated. .P If \fIhost_byte_order\fP is not NULL, it is set to indicate the byte order that is current at the end of the string. .P There is a complete description of the PCRE native API in the .\" HREF \fBpcreapi\fP .\" page and a description of the POSIX API in the .\" HREF \fBpcreposix\fP .\" page. .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (5) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability library/pcre = Stability Uncommitted .TE .PP .SH NOTES .\" Oracle has added source availability information to this manual page This software was built from source available at https://java.net/projects/solaris-userland. The original community source was downloaded from http://sourceforge.net/projects/pcre/files/pcre/8.38/pcre-8.38.tar.gz Further information about this software can be found on the open source community website at http://pcre.org/.