RKDEFINEDIC(3)
π RKDEFINEDIC π
okay bestie so we're looking at RkDefineDic, a little function from the Library Functions Manual, section 3 β that's the C library functions corner of the man pages, iykyk β¨
β¨ NAME β¨
RkDefineDic β bestie, it defines the specified candidates in the dictionary π
πΈ SYNOPSIS πΈ
#include <canna/RK.h>
int RkDefineDic(cxnum, dicname, wordrec)
int cxnum;
char *dicname;
char *wordrec;
π¦ DESCRIPTION π¦
so like. RkDefineDic defines the candidates you specify into the dictionary whose name is dicname. the vibes are: you hand it a dictionary name, and it goes and puts your word in there. periodt π
the word you wanna add goes in the character string wordrec, and it has to be written in this exact format:
reading part-of-speech information kanji candidate
so if you write wordrec like this, for example:
(HIRAGANA) #T35 (KANJI) ...
then you're specifying a candidate whose part of speech #T35 is defined by the reading "(HIRAGANA)", and whose spelling matches "(KANJI)". and that's it, that's the whole assignment, no cap π₯
β RETURN VALUE β
this function returns 0 if it worked π β otherwise it returns -1 π
also, heads up bestie: it returns -1 without doing anything at all if it's been run in a conversion mode context. like, it just. doesn't. nothing happens. so don't be surprised, okay? π
and that's the whole page, babe β signed off from the Library Functions Manual, RKDEFINEDIC(3), section 3, the RkDefineDic girlies' very own corner of the docs ππ«Ά go forth and define those candidates, mwah π
β¨
π¦ 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