RKSTOREYOMI(3)

✨ RKSTOREYOMI(3) ✨

okay so bestie, welcome to the Library Functions Manual πŸ’– this one is RkStoreYomi and it's lowkey a glow-up function for your Japanese input, let's get into it πŸŽ€


🌸 NAME 🌸

RkStoreYomi β€” change the reading of the current clause, reconverting the subsequent clauses ✨

like, you're telling the clause "no babe, this is how you're actually pronounced" and everything after it gets re-done. it's giving editor energy πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <canna/RK.h>
int RkStoreYomi(cxnum, yomi, maxyomi)
int cxnum;
unsigned char *yomi;
int maxyomi;

yes she's a C function, yes you need that header, no you can't skip it πŸ™ˆ


πŸ’œ DESCRIPTION πŸ’œ

RkStoreYomi changes the reading of the current clause to a specified reading, reconverting the subsequent clauses. fr fr, it takes the reading yomi and changes it, using a length of maxyomi bytes. πŸ“

okay so here's the part you CANNOT skip, bestie:

the value of maxyomi must be adjusted to character boundaries in the EUC code. like, it has to land exactly on a character boundary β€” do not just toss a random byte count in there, that's not the vibe 😭

so maxyomi isn't just "however many bytes I feel like", it's a real number you gotta line up properly with EUC character boundaries. slay responsibly πŸ‘‘


πŸ‘‘ RETURN VALUE πŸ‘‘

this function returns the number of clauses after the change. ✨ a little receipt of how much got reconverted, iykyk 🧾


and that's the whole page, gorgeous β€” RKSTOREYOMI(3) out πŸ’… this little manual page lives in the Library Functions Manual and signs off as RKSTOREYOMI(3), no version or date drama attached, just pure function energy πŸ¦‹βœ¨

πŸ“¦ where this page comes from