RKMOUNTDIC(3)

πŸ’– RKMOUNTDIC(3) πŸ’–

ok so like. bestie. this one is literally called RkMountDic and it's a library function from the <canna/RK.h> cinematic universe, and its whole entire job is mounting a dictionary in the dictionary list. that's it. that's the gig. main character energy fr fr πŸŽ€


✨ NAME ✨

RkMountDic β€” mount a dictionary in the dictionary list πŸ¦‹


🌸 SYNOPSIS 🌸

#include <canna/RK.h>
int RkMountDic(cxnum, dicname, mode)
int cxnum;
char *dicname;
int mode;

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe. RkMountDic mounts a dictionary into the dictionary list. no cap. πŸ“šβœ¨

where do you even get the dictionary name from, you ask? you get it with RkGetDicList(3). iconic behavior, honestly. 🫢

so what actually happens: RkMountDic appends the named dictionary to the dictionary list. just tacks it right on the end, like adding a new bestie to the group chat. and the dictionary you just mounted like that? it can be used from the next run of kana-kanji conversion. so not right this second, bestie β€” next run. patience is a virtue or whatever. 🧚

and mode? mode is meaningless at this moment. literally does nothing. it's giving decorative. it's giving placeholder. we still love it though. πŸ™ˆ

⚠️ okay important one, don't skip this: the dictionary you're mounting must not already have been mounted in the present context. so like, check first. don't be out here double-mounting. πŸ’€

⭐ RETURN VALUE ⭐

  • this function returns 0 if it ate and left no crumbs (successful) πŸ‘‘
  • otherwise, it returns -1 😭

🌈 SEE ALSO 🌈

  • RkUnmountDic(3) β€” the reverse. the un-mounting. the breakup arc. πŸ’”

and that's the whole page, bestie!! this was the Library Functions Manual edition of RKMOUNTDIC(3), brought to you with love from the Canna crew, and yeah we're at the bottom of the page so this is the part where i say bye πŸ’œ stay mounted, stay iconic, don't double-mount, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from