File: open.man

package info (click to toggle)
freewnn 1.1.1~a021%2Bcvs20130302-6
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 18,956 kB
  • ctags: 8,674
  • sloc: ansic: 97,647; sh: 8,551; makefile: 6,491; cpp: 88
file content (87 lines) | stat: -rw-r--r-- 2,982 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: open.man,v 1.4 2001/09/16 14:20:17 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_OPEN 3  "20 September 1991"
.SH ̾
.sv 1
.nf
.ta 0.1i 2i
jl_open()	ФȥͥĥĶ򥵡˺롣
.fi
.SH 
.sv 1
.nf
.ta 0.1i 3i
#include "jllib.h"

struct wnn_buf *
jl_open(env_n, server_n, wnnrc_n, error_handler, 
				message_handler, timeout)
char *env_n;			/* Ķ̾ */
char *server_n;			/* ̾ */
char *wnnrc_n;			/* wnnrcե̾ */
int  (*error_handler)();	/* 顼ϥɥ */
int  (*message_handler)();	/* åϥɥ */	
int timeout;			/* ॢȻ */
.fi
.SH ǽ
.HP 0
.IP
Ķ̾ env_nڤӡ̾ server_n ǻꤵ줿Ķꡢ
ѴХåեä֤

server_n  null ݥ󥿡ӡnull ʸλϡ
/etc/hosts  jserver Ȥ alias ƤۥȤõ
³褦Ȥ롣񤫤Ƥʤˤϡ
unix domain  socket ³褦Ȥ롣

Ķ̾δĶ jserver ˺롣ե wnnrc ꤵ
줿硢ĶνեȤѤΥեλ
(ꡢ°եꡢѥ᡼)򤽤δĶФ
ƹԤʤ

ꤵ줿ե롢٥ե뤬¸ߤʤν
顼ϥɥ 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 ꤷʤФʤʤ