view Wnn/manual/3.libwnn/js_lib/hindo_creat @ 0:bbc77ca4def5

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 04:30:14 +0900
parents
children
line wrap: on
line source




JS_HINDO_CREAT( )   UNIX Programmer's Manual    JS_HINDO_CREAT( )



名称

     js_hindo_file_create()   辞書ファイルの頻度ファイルを作る。

形式

     #include "jslib.h"

     int
     js_hindo_file_create(env,fid,fn,comment,hpasswd)
     struct wnn_env *env;          /* 環境 */
     int fid;                      /* 辞書ファイルのID */
     char *fn;                     /* ファイル名 */
     w_char *comment;              /* コメント */
     char *hpasswd;                /* パスワード */

機能

     辞書ファイル ID fid の頻度ファイルを作る。頻度ファイル名 fn
     の最大文字数は、 100 文字である。頻度ファイルのコメント com-
     ment の最大文字数は、 512 文字である。頻度ファイルのパスワー
     ド hpasswd の最大文字数は、 16 文字である。

リターンバリュー

     正常終了時には、0 を返す。
     異常終了時には、-1 を返す。




Printed 1/22/92          11 October 1991                        1