RKGETYOMI(3)
π NAME π
RkGetYomi β bestie, this is the function that pulls up the reading of the current clause. That's it. That's the whole job. π
β¨ SYNOPSIS β¨
#include <canna/RK.h>
int RkGetYomi(cxnum, yomi, maxyomi)
int cxnum;
unsigned char *yomi;
int maxyomi;
okay so the vibe is: three args, one int coming back, and a header you gotta include or nothing works. π¦
πΈ DESCRIPTION πΈ
So like, RkGetYomi grabs the reading of the current clause and drops it right into the area called yomi. π
And here's the one lil thing you need to know, no cap: the resulting character string gets truncated when its byte length exceeds maxyomi -1. So maxyomi is your budget and that -1 is already spent β plan accordingly, gorgeous. π
π RETURN VALUE π
This function returns the length of the reading of the current clause. Slay. β¨
But if it's been run in a nonconversion mode context, it returns -1, and it does not do anything. Like, zero. Nothing. Not a single byte. π«Ά
bestie pls check your mode before you call this, because a silent -1 is giving "left on read" energy π
and that's the whole page fr fr. this little manual lives in the Library Functions Manual, section 3, and it goes by RKGETYOMI(3) β that's the name at the top and the name at the bottom, iconic bookends honestly. mwah, go read some yomi πππ¦
π¦ 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