RKRESIZE(3)
π RKRESIZE(3) β Library Functions Manual π
okay bestie, so this one lives in the Library Functions Manual and it's called RkResize β yes that's the whole name, we're not being mysterious about it β¨
πΈ NAME πΈ
RkResize β changes the reading length of the current clause to len bytes. that's it, that's the job, and she does it flawlessly π
π¦ SYNOPSIS π¦
#include <canna/RK.h>
int RkResize(cxnum, len)
int cxnum;
int len;
like, she takes two ints and she wants the header. standard. no notes π
β¨ DESCRIPTION β¨
So here's the tea β RkResize takes the reading length of the current clause and sets it to len bytes, and then it reconverts the right part of that current clause. she's not just changing a number, she's redoing the work downstream of it. main character energy fr fr π
IMPORTANT: the value of len has to be adjusted to character boundaries in the EUC code. do not just vibe with an arbitrary byte count, she will not be okay with that π
Now, when the reconversion happens: the analysis result of the reconverted clause is destroyed β because, hello, you changed the reading length, the old analysis doesn't apply anymore π that's just how it is.
But the good news? The analysis result of any other clause does not change. untouched. protected. thriving π
And the current clause itself doesn't change either β we're resizing, not swapping. periodt π
π«Ά RETURN VALUE π«Ά
She returns the number of clauses after the change. that's your little receipt π§Ύβ¨
so yeah β that's RkResize(3) from the Library Functions Manual. the footer of this page is just RKRESIZE(3) and honestly it gave us no version and no date, so we're matching that energy: no date, no version, just the page name and a whole lot of love π bye bestie, go adjust those EUC character boundaries π¦πΈ
π¦ where this page comes from
- debian bookworm: libcanna1g-dev 3.7p3-20 Β· ISC
- debian trixie: libcanna1g-dev 3.7p3-25 Β· ISC
- ubuntu jammy: libcanna1g-dev 3.7p3-17 Β· ISC
- ubuntu noble: libcanna1g-dev 3.7p3-20 Β· ISC
- ubuntu questing: libcanna1g-dev 3.7p3-26
- ubuntu resolute: libcanna1g-dev 3.7p3-26build1 Β· ISC
- ubuntu stonking: libcanna1g-dev 3.7p3-29 Β· ISC
- Copyright 1994 NEC Corporation, Tokyo, Japan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms