comparison Wnn/man/3.libwnn/js_lib/set_lang.man @ 0:bbc77ca4def5

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 04:30:14 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bbc77ca4def5
1 .\"
2 .\" $Id: set_lang.man,v 1.3 2001/06/14 18:08:34 ura Exp $
3 .\"
4 .\"
5 .\" FreeWnn is a network-extensible Kana-to-Kanji conversion system.
6 .\" This file is part of FreeWnn.
7 .\"
8 .\" Copyright Kyoto University Research Institute for Mathematical Sciences
9 .\" 1987, 1988, 1989, 1990, 1991, 1992
10 .\" Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
11 .\" Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
12 .\" Copyright FreeWnn Project 1999, 2000
13 .\"
14 .\" Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
15 .\"
16 .\" This program is free software; you can redistribute it and/or modify
17 .\" it under the terms of the GNU General Public License as published by
18 .\" the Free Software Foundation; either version 2 of the License, or
19 .\" (at your option) any later version.
20 .\"
21 .\" This program is distributed in the hope that it will be useful,
22 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
23 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 .\" GNU General Public License for more details.
25 .\"
26 .\" You should have received a copy of the GNU General Public License
27 .\" along with this program; if not, write to the Free Software
28 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 .\"
30 .TH JS_SET_LANG \ "20 September 1991"
31 .SH 名称
32 .sv 1
33 .nf
34 .ta 0.1i 2i
35 js_set_lang() 環境に、ランゲージをセットする。
36 js_get_lang() 環境から、ランゲージをとりだす。
37 .fi
38 .SH 形式
39 .sv 1
40 .nf
41 .ta 0.1i 3i
42 #include "jslib.h"
43
44 void
45 js_set_lang(env, lang)
46 struct wnn_env *env;
47 char *lang;
48
49 char *
50 js_get_lang(env)
51 struct wnn_env *env;
52 .fi
53 .SH 機能
54 .HP 0
55 .IP
56 js_set_lang は、環境 env に、使用するランゲージ lang をセットする。
57 lang が、NULL の場合、環境変数 $LANG から取り出す。
58 $LANG が、設定されていない場合は、デフォルトの値が設定される。
59 デフォルトの値は、
60 .nf
61 .ta 1i
62 js_JP.ujis@xim=Wnn
63 .fi
64 である。
65 .SH リターンバリュー
66 .sv 1
67 .nf
68 js_get_lang は、環境 env に、設定されているランゲージへの
69 ポインターを返す。
70 .fi
71
72
73
74
75