PCRE2_GET_...RAMES_SIZE(3)
β¨ PCRE2_GET_...RAMES_SIZE(3) β¨
okay bestie, welcome to the Library Functions Manual corner of the PCRE2 universe π
the title up top is PCRE2_GET_...RAMES_SIZE(3), and we're about to make this tiny function make sense.
πΈ NAME πΈ
PCRE2 β Perl-compatible regular expressions (revised API). That's the whole name vibe: revised API, no cap. π¦
β¨ SYNOPSIS β¨
#include <pcre2.h>
PCRE2_SIZE pcre2_get_match_data_heapframes_size(
pcre2_match_data *match_data);
π DESCRIPTION π
So this function returns the size, in bytes, of the heapframes data block that is owned by its argument. That's it. That's the whole function. It's giving tiny-but-useful. π
There's a complete description of the PCRE2 native API in the pcre2api page, and a description of the POSIX API in the pcre2posix page. Go read those if you want the full lore. π
source/version and date: this page is from PCRE2 10.47, dated 18 January 2023. Mwah π
π¦ where this page comes from
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms