File: connect_lang.man

package info (click to toggle)
freewnn 1.1.1~a021%2Bcvs20100325-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 18,152 kB
  • ctags: 8,537
  • sloc: ansic: 97,631; sh: 8,551; makefile: 6,581; cpp: 88
file content (87 lines) | stat: -rw-r--r-- 3,063 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.\"
.\"   $Id: connect_lang.man,v 1.1 2001/09/16 14:22:05 hiroo Exp $
.\"
.\"
.\" FreeWnn is a network-extensible Kana-to-Kanji conversion system.
.\" This file is part of FreeWnn.
.\" 
.\" Copyright Kyoto University Research Institute for Mathematical Sciences
.\"                 1987, 1988, 1989, 1990, 1991, 1992
.\" Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
.\" Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
.\" Copyright FreeWnn Project 1999, 2000
.\" 
.\" Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
.\" 
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\" 
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\" 
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
.\"
.TH JL_CONNECT_LANG 3  "19 September 1991"
.SH ̾
.sv 1
.nf
.ta 0.1i 2i
jl_connect_lang()	Ķ롣
.fi
.SH 
.sv 1
.nf
.ta 0.1i 3.i
#include "jllib.h"

struct wnn_env *
jl_connect_lang(env_n, server_n, lang, wnnrc_n,
				error_handler, message_handler, timeout)
char *env_n;			/* Ķ̾ */
char *server_n;			/* ̾ */
char *lang;			/* 󥲡 */
char *wnnrc_n;			/* wnnrcե̾ */
int  (*error_handler)();	/* 顼ϥɥ */	
int  (*message_handler)();	/* åϥɥ */	
int timeout;			/* ॢȻ */
.SH ǽ
.HP 0
.IP
Ķꤵ줿 server_n ˻ꤵ줿Ķ̾ env_n Ǻꡢ
Ķ֤
ФȥͥȤƤʤϡͥĥ롣
ˤδĶ¸ߤˤϡδĶ֤

lang ǡѴоݤθꤹ롣ܺ٤ϡjs_open_lang 򻲾ȡ

server_n null ݥ󥿡뤤ϡnull ξ硢serverdefs
ե lang פԤ򻲾Ȥ2ΥۥȤ
³褦Ȥ롣³Ǥʤä硢뤤ϡ2
ΥۥȤNULLξ硢unix domain  socket ³褦Ȥ롣

ե wnnrc_n ꤵ줿硢եνԤʤ
Ԥʤʤϡwnnrc_n  NULL ꤹ롣jl_open ȡ
顼ϥɥ error_handleråϥɥ message_handler 
Ѥ롣jl_dic_add ȡ

timeout()ˡФ³Ǥʤϡ³Ǥ۾ェλ롣
ॢȤΤˡSIGALARM ѤƤ롣
timeout  0 ޤϡξϡSIGALARM Ѥʤ
js_connect 򻲾ȡ
.SH ꥿Х塼
.sv 1
.nf
ェλˤϡĶ֤
۾ェλˤ NULL ֤
.fi
.SH Ѿ
.HP 0
.IP 
ॢȤˤϡSIGALARM ѤƤΤǡդɬפǤ롣
SIGALARM Ѥʤˤϡtimeout  0 ꤷʤФʤʤ