comparison Wnn/jserver/w_string.c @ 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: w_string.c,v 1.4 2003/05/11 18:43:16 hiroo Exp $
3 */
4
5 /*
6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system.
7 * This file is part of FreeWnn.
8 *
9 * Copyright Kyoto University Research Institute for Mathematical Sciences
10 * 1987, 1988, 1989, 1990, 1991, 1992
11 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
12 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
13 * Copyright FreeWnn Project 1999, 2000, 2003
14 *
15 * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
16 *
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
21 *
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 */
31
32 #include <stdio.h>
33 #include "commonhd.h"
34 #include "wnn_string.h"
35
36 void
37 Sreverse (w1, w2)
38 register w_char *w1, *w2;
39 {
40 wnn_Sreverse (w1, w2);
41 }
42
43 int
44 Sstrcpy (w, c)
45 register w_char *w;
46 register unsigned char *c;
47 {
48 return (wnn_Sstrcpy (w, c));
49 }
50
51 int
52 Strcmp (w1, w2)
53 register w_char *w1, *w2;
54 {
55 return (wnn_Strcmp (w1, w2));
56 }
57
58 int
59 Substr (w1, w2)
60 register w_char *w1, *w2;
61 {
62 return (wnn_Substr (w1, w2));
63 }
64
65 int
66 Strncmp (w1, w2, n)
67 register w_char *w1, *w2;
68 register int n;
69 {
70 return (wnn_Strncmp (w1, w2, n));
71 }
72
73 w_char *
74 Strcpy (w1, w2)
75 register w_char *w1, *w2;
76 {
77 return (wnn_Strcpy (w1, w2));
78 }
79
80 w_char *
81 Strncpy (w1, w2, n)
82 register w_char *w1, *w2;
83 register int n;
84 {
85 return (wnn_Strncpy (w1, w2, 2));
86 }
87
88 int
89 Strlen (w)
90 register w_char *w;
91 {
92 return (wnn_Strlen (w));
93 }
94