RKCVTROMA(3)

πŸ’– RKCVTROMA πŸ’–

okay so bestie, meet RkCvtRoma β€” the glow-up function that takes your whole Romaji string and turns it into kana, and it does it the ✨iterative✨ way by calling RkMapRoma over and over again like a little queen doing laps. She lives in the Library Functions Manual section 3, so she's a library function, iykyk πŸ¦‹


🌸 NAME 🌸

RkCvtRoma β€” convert an entire character string from Romaji to kana by iteratively using RkMapRoma πŸ’…


✨ SYNOPSIS ✨

#include <canna/RK.h>
int RkCvtRoma(romaji, dst, maxdst, src, srclen, flags)
struct RkRxDic *romaji;
unsigned char *dst;
int maxdst;
unsigned char *src;
int srclen;
int flags;

πŸŽ€ DESCRIPTION πŸŽ€

so the whole vibe here: RkCvtRoma converts an entire src character string from Romaji to kana, and she does it by iteratively using RkMapRoma. like, one little mapping at a time until the whole thing is done. main character energy fr fr πŸ‘‘

the parameters are basically the same as RkMapRoma(3), with one tiny exception: status is wanting β€” meaning it's just not there. no status, no problem, we move 🌈

ngl bestie, if you're looking for the status param, she's not invited to this function. that's the whole difference. don't come for me, that's literally what the page says πŸ’€

πŸ’œ RETURN VALUE πŸ’œ

she hands you back the byte length of the conversion result. that's it, that's the tea ⭐


🫢 SEE ALSO 🫢


and that's the whole page, bestie!! πŸŽ€ this cutie is RKCVTROMA(3) from the Library Functions Manual, and she said periodt β€” go read RkMapRoma(3) if you want the receipts πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from