RKGETSTAT(3)

✨ NAME ✨

okay bestie, welcome to RKGETSTAT(3) from the Library Functions Manual β€” this page is all about RkGetStat, aka get analysis information about the current candidate. πŸ’…

🌸 SYNOPSIS 🌸

#include <canna/RK.h>
int RkGetStat(cxnum, stat)
int cxnum;
Rkstat *stat;

like, that's the whole spell. cast it and you're in. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

RkGetStat gets analysis information about the current candidate. The fields of the structure stat are loaded with the following:

  • bunnum β€” Current clause number
  • candnum β€” Current candidate number
  • maxcand β€” Number of candidates for the current clause
  • diccand β€” maxcand less the mode specification of RkBgnBun(3)
  • ylen β€” Byte length of the reading of the current candidate
  • klen β€” Byte length of the kanji of the current candidate
  • tlen β€” Number of words making up the current candidate

no cap, every one of those fields is getting filled in. 🫢

πŸ’– RETURN VALUE πŸ’–

This function returns 0, or returns -1, without doing anything, if it has been run in a nonconversion mode context.

bestie warning: if it's in a nonconversion mode context, it returns -1 and literally does nothing. not a single thing. 😭

that's the whole page, bestie β€” RKGETSTAT(3) from the Library Functions Manual, and the footer doesn't give a source/version/date, just the page name again. bye, love u, go get that analysis information πŸ’–πŸ‘‘

πŸ“¦ where this page comes from