From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue Oct 27 17:18:22 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id RAA03389;
	Tue, 27 Oct 1998 17:18:22 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id RAA03381
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 27 Oct 1998 17:18:20 +0900 (JST)
	(envelope-from mrt@astec.co.jp)
Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1])
	by tokyonet-entrance.astec.co.jp (8.9.1+3.0W/3.7W-astecMX2.3) with ESMTP id RAA18317
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 27 Oct 1998 17:18:18 +0900 (JST)
Received: from tamtam.astec.co.jp (tamtam.astec.co.jp [172.20.10.60])
	by amont.astec.co.jp (8.7.6/3.6W-astecMX2.4) with SMTP id RAA12211
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 27 Oct 1998 17:18:18 +0900 (JST)
Received: from tamtam.astec.co.jp (localhost [127.0.0.1]) by tamtam.astec.co.jp (SMI-8.6/3.5W-astec-sol2.5) with ESMTP id RAA09732 for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 27 Oct 1998 17:18:16 +0900
To: FreeBSD-tech-jp@jp.freebsd.org
X-cite: xcite 1.20
References: <i2n26i4fpx.fsf@tamtam.astec.co.jp>
 <19981027164744B.shiozaki@ased.mt.nec.co.jp>
 <i2k91m4ejg.fsf@tamtam.astec.co.jp>
MIME-Version: 1.0 (generated by SEMI 1.9.1 - "Kurikara")
Content-Type: text/plain; charset=ISO-2022-JP
From: Murata Shuuichirou <mrt@astec.co.jp>
Date: 27 Oct 1998 17:18:15 +0900
In-Reply-To: Murata Shuuichirou's message of "27 Oct 1998 17:03:47 +0900"
Message-ID: <i2g1ca4dvc.fsf@tamtam.astec.co.jp>
Lines: 14
User-Agent: Semi-gnus/6.8.19 SEMI/1.9.1 (Kurikara) Chao/1.11.5 (Kokusaikaikan) Emacs/20.2 (sparc-sun-solaris2.5) MULE/3.0 (MOMIJINOGA)
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: FreeBSD-tech-jp 1852
Subject: [FreeBSD-tech-jp 1852] Re: how to impliment 'mbstowcs()' and 'wcstombs()'
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org
X-Originator: mrt@tamtam.astec.co.jp

$B$J$*$7$?$D$b$j$G!"$^$A$,$($F$^$9!#$*CQ$:$+$7$$!#(B

In message <i2k91m4ejg.fsf@tamtam.astec.co.jp>,
 `mrt@astec.co.jp' wrote:
> In message <19981027142950F.shiozaki@ased.mt.nec.co.jp>,
>  `shiozaki@ased.mt.nec.co.jp' wrote:
> > 1. mbstowcs(NULL, mbs, n)$BJ,$o$j$"$F$k(B
> mbstowcs(NULL, mbs, n) + sizeof($B%o%$%IJ8;z(B)
mbstowcs(NULL, mbs, n) + 1
> > 2. MB_CUR_MAX*$BJ8;z?tJ,$r$o$j$"$F$k(B
> MB_CUR_MAX*($BJ8;z?t(B + 1)$BJ,(B

-- 
$B$`$i$?$7$e$&$$$A$m$&(B
