From owner-FreeBSD-tech-jp@jp.freebsd.org  Mon Oct 26 12:32:13 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id MAA19014;
	Mon, 26 Oct 1998 12:32:13 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from cclub.cc.tut.ac.jp (IDENT:root@cclub.cc.tut.ac.jp [133.15.44.14])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id MAA19009
	for <FreeBSD-tech-jp@jp.freebsd.org>; Mon, 26 Oct 1998 12:32:10 +0900 (JST)
	(envelope-from go@cclub.cc.tut.ac.jp)
Received: (from go@localhost)
	by cclub.cc.tut.ac.jp (8.8.7/3.6Wbeta7) id MAA04359;
	Mon, 26 Oct 1998 12:30:41 +0900 (JST)
Date: Mon, 26 Oct 1998 12:30:41 +0900 (JST)
Message-Id: <199810260330.MAA04359@cclub.cc.tut.ac.jp>
To: FreeBSD-tech-jp@jp.freebsd.org
In-Reply-To: Your message of "Mon, 26 Oct 1998 11:29:57 JST".
	<i290i4caxm.fsf@tamtam.astec.co.jp>
From: go@cclub.cc.tut.ac.jp (Go Watanabe)
X-Mailer: mnews [version 1.21] 1997-12/23(Tue)
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 1825
Subject: [FreeBSD-tech-jp 1825] Re: ansi.c patch for ja-netscape
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org
X-Originator: go@cclub.cc.tut.ac.jp

<i290i4caxm.fsf@tamtam.astec.co.jp>$B$N5-;v$K$*$$$F(B
mrt@astec.co.jp$B$5$s$O=q$-$^$7$?!#(B

>$BI,MW$J5!G=$G$9$+$i!"(Bwcstombs() $B$N$[$&$b<BAu$7$F%^%K%e%"%k$bD>(B
>$B$7$F!"(Bsend-pr $B$7$F$7$^$$$^$7$g$&!#(B
>
># $B$3$N:]$@$+$i!"<BAu$5$l$F$J$$5!G=$r!"(B*$B4JC1$K$G$-$kHO0O$G(B*
># $B$R$H$H$*$j$d$C$D$1$F$7$^$&$N$,5H$+$b!#(B

$B;29M$^$G$K5,3J$G$9!#(B
(Single Unix Specification Version 2. see http://www.UNIX-systems.org/)

----------
mbstowcs

size_t mbstowcs(wchar_t *pwcs, const char *s, size_t n);

...
If pwcs is a null pointer, mbstowcs() returns the length required to
convert the entire array regardless of the value of n, 
but no values are stored. 

----------
wcstombs

size_t wcstombs(char *s, const wchar_t *pwcs, size_t n);

...
If s is a null pointer, wcstombs() returns the length
required to convert the entire array regardless of the value of n,
but no values are stored. function returns the number of bytes
 required for the character array. 
...

$B$H$$$&$3$H$G!"<BAu$7$J$$$H$$$1$J$$$h$&$G$9$M(B
# $B$J$*(B ISO-C $B$G$N$=$l$>$l$N4X?t$K$O$3$N5!G=$O$"$j$^$;$s!#(B
-- 
$BEOn4(B $B9d(B (Go Watanabe) go@dsl.ics.tut.ac.jp / go@cclub.cc.tut.ac.jp
