logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RkGetDicList - get the name of a dictionary that can be added to the dictionary list

Description

RkGetDicList gets the name of a dictionary that can be added to the dictionary list.

       Multiple  dictionaries  can  be  simultaneously  used  during  kana-kanji conversion.  The simultaneously
       available dictionaries are chained to the dictionary list in  the  conversion  context.   The  dictionary
       named at the beginning of the dictionary list is referenced first of all and candidates generated from it
       are  also  treated  on  a  priority  basis.   Dictionaries  are  identified by the dictionary name in the
       dictionary table.

       Dictionary names are got in the area dics in the following format:

        dictionary-name-1 ¡ï0 dictionary-name-2 ¡ï0 ... dictionary-name-n ¡ï0 ¡ï0

       The size of the area dics is given in bytes by maxdics.  The dictionary list is  truncated  in  character
       strings when it exceeds this size.

Name

RkGetDicList - get the name of a dictionary that can be added to the dictionary list

Return Value

       This function returns number of dictionary names, or returns -1 if the context is invalid.

                                                                                                 RKGETDICLIST(3)

Synopsis

#include<canna/RK.h>intRkGetDicList(cxnum,dics,maxdics)intcxnum;char*dics;intmaxdics;

See Also