RKDELETEDIC(3)

πŸ’– NAME πŸ’–

RkDeleteDic β€” deletes specified candidates from a dictionary. This is the RKDELETEDIC(3) page, from the Library Functions Manual, bestie. periodt.

🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, bestie, RkDeleteDic deletes specified candidates from the dictionary named by dicname. Specify the word to delete in the character string wordrec, which is written in the format:

reading   part-of-speech information   kanji candidate

Writing wordrec, for example, as:

(HIRAGANA)     #T35     (KANJI)  ...

will specify a candidate whose part of speech #T35 is defined by the reading "(HIRAGANA)" and whose spelling matches "(KANJI)". It's giving surgical dictionary deletion, no cap. ✨

πŸ‘‘ RETURN VALUE πŸ‘‘

This function returns 0 if successful; otherwise it returns -1. It also returns -1, without doing anything, if it has been run in a conversion mode context. So if you're in conversion mode, it's not gonna do a single thing β€” just -1. πŸ™ˆ


That's the tea, bestie. Signing off from RKDELETEDIC(3) β€” the footer is just RKDELETEDIC(3), no extra source/version/date info to spill. πŸ’…πŸ«Ά

πŸ“¦ where this page comes from