PCRE_UTF32_TO_HOST_BYTE_ORDER(3)
β¨ NAME β¨
PCRE - Perl-compatible regular expressions π
okay bestie, this is the manual page for PCRE_UTF32..._BYTE_ORDER(3), from the Library Functions Manual. it's giving very specific 32-bit energy, and we're lowkey obsessed. π
πΈ SYNOPSIS πΈ
#include <pcre.h>
int pcre32_utf32_to_host_byte_order(PCRE_UCHAR32 *output,
PCRE_SPTR32 input, int length, int *host_byte_order,
int keep_boms);
π DESCRIPTION π
okay so this function (pcre32_utf32_to_host_byte_order, if you're keeping track) exists only in the 32-bit library, no cap. it converts a UTF-32 string to the correct order for the current host, and it's literally taking account of any byte order marks (BOMs) inside the string. iconic behavior, fr fr. π¦
Its arguments are:
outputβ pointer to output buffer, may be the same asinputβ¨inputβ pointer to input buffer π«Άlengthβ number of 32-bit units in the input, or negative for a zero-terminated string πhost_byte_orderβ aNULLvalue or a non-zero value pointed to means start in host byte order πkeep_bomsβ if non-zero, BOMs are copied to the output string π
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. periodt. π
If host_byte_order is not NULL, it is set to indicate the byte order that is current at the end of the string. highkey useful. π₯
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. iykyk. π
mwah π this page is from PCRE 8.30, dated 24 June 2012, and the footer name is PCRE_UTF32..._BYTE_ORDER(3). stay slaying, bestie. π
π¦ where this page comes from
- alpine 3.22: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.23: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.24: pcre-doc 8.45-r4 Β· BSD-3-Clause
- arch rolling: pcre 8.45-5 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- debian bookworm: libpcre3-dev 2:8.39-15
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- nixos 26.05: pcre 8.45
- nixos 26.05: pcre-cpp 8.45
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libpcre3-dev 2:8.39-13build5
- ubuntu jammy: libpcre3-dev 2:8.39-13ubuntu0.22.04.1
- ubuntu noble: libpcre3-dev 2:8.39-15build1
- ubuntu questing: libpcre3-dev 2:8.39-15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms