From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue Jun 19 13:38:36 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id NAA14219;
	Tue, 19 Jun 2001 13:38:36 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from shiva.tri.asanuma.co.jp (shiva.tri.asanuma.co.jp [210.160.188.2])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id NAA14213
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 19 Jun 2001 13:38:34 +0900 (JST)
	(envelope-from mori@tri.asanuma.co.jp)
Received: from yashoda.tri.asanuma.co.jp (yashoda.tri.asanuma.co.jp [172.16.57.11])
	by shiva.tri.asanuma.co.jp (Postfix) with ESMTP id 0A7A4542B
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 19 Jun 2001 13:38:31 +0900 (JST)
Received: from kurishna.tri.asanuma.co.jp (kurishna.tri.asanuma.co.jp [172.16.57.2])
	by yashoda.tri.asanuma.co.jp (8.11.0/8.11.0) with ESMTP id f5J4cUx14355
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 19 Jun 2001 13:38:31 +0900 (JST)
To: FreeBSD-tech-jp@jp.freebsd.org
References: <200106181056.TAA27220@sranhm.sra.co.jp>
	<80r8whe2ri.fsf@kurishna.tri.asanuma.co.jp>
	<803d8xcigq.fsf@kurishna.tri.asanuma.co.jp>
	<20010619.121127.76177826.aki@z.ai.bsdclub.org>
Siganture-File: ~/.signature
MIME-Version: 1.0 (generated by REMI 1.14.2 - =?ISO-8859-4?Q?=22Hokuhoku-=D2?=
 =?ISO-8859-4?Q?shima=22?=)
Content-Type: text/plain; charset=ISO-2022-JP
From: Mori Kouji <mori@tri.asanuma.co.jp>
Date: 19 Jun 2001 13:38:30 +0900
In-Reply-To: <20010619.121127.76177826.aki@z.ai.bsdclub.org> (Akihiro IIJIMA's message of "Tue, 19 Jun 2001 12:11:27 +0900 (JST)")
Message-ID: <80wv69axtl.fsf@kurishna.tri.asanuma.co.jp>
Lines: 35
User-Agent: Nana-gnus/7.1.0.23 REMI/1.14.2 (=?ISO-8859-4?Q?Hokuhoku-=D2shi?=
 =?ISO-8859-4?Q?ma?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz=F2?=) APEL/10.3
 Emacs/21.0.103 (i386--freebsd) MULE/5.0 (SAKAKI)
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: FreeBSD-tech-jp 3115
Subject: [FreeBSD-tech-jp 3115] Re: [FreeBSD-users-jp 62385] Re: lpc kterm
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org
X-Originator: mori@kurishna.tri.asanuma.co.jp

$B?9$G$9!#(B

Akihiro IIJIMA <aki@bsdclub.org> writes:

> man cgetclose $B$K=P$F$/$k(B
> 
>   The cgetclose() function closes the sequential access and frees any
>   memory and file descriptors being used.  Note that it does not erase
>   the buffer pushed by a call to cgetset().
> 
> $B$3$l$N$3$H$G$9$+!#(B
> $B2sHr:v$O=q$$$F$J$$$J$!!#(B

$B$=$l$G$9!#(Bman $B$K=q$$$F$"$j$^$7$?$+!#$H$9$k$H!"(Bgetcap(3) $B4X?t72$O(B
$BJ#?t$N%G!<%?%Y!<%9$r;H$$J,$1$k$h$&$J@_7W$K$J$C$F$$$J$$$N$G(B
$B!V(Blpc(8) $B$,%i%$%V%i%j$N;H$$$+$?$r4V0c$($F$$$k!W$H$$$&7y$J7kO@$K(B
$B$J$j$=$&$G$9$M!#(B

libc $B$r=$@5$7$J$$$3$H$rA0Ds$H$7$F$"$/$^$G$b(B lpc $BB&$G2sHr$9$k:v$H$7$F$O!"(B
cgetset("") $B$r<B9T$7$FFbItJQ?t$r%/%j%"$7$?>e$G!"(Bcgetfirst() $B$J$I$r(B
$B8F$S=P$7$?:]$N%(%i!<=hM}$K<j$rF~$l$k$H$$$&$N$,$G$-$=$&$G$9!#(B

# cgetset("") $B$@$1$G$$$1$k$+$H;W$C$?$i%@%a$@$C$?!#(B

> $B$H$3$m$G(B lpc$B$O(B $B$I$3$G(B cgetset $B$r;H$C$F$$$k$N$G$7$g$&$+!#(B
> /usr/src/usr.sbin/lpr/$B$N(B lpc/ $B$H(B common_source/$B$_$?$1$I(B $B$J$5$=$&$G$9!#(B
> $B$b$7$+$7$F(B $B9TJT=85!G=(B readline$B$A$e$&$+(B -ledit $B$G:.$<$F$d$D$,(B $BCf$G(B
> $B$d$C$F$k(B?

$B$H$$$&$3$H$N$h$&$G$9!#$@$+$i(B -ledit $B;H$C$F$$$J$$8E$$(B lpc $B$@$HBg>fIW!#(B

-- 
$B?9(B $B9@Fs(B	(MORI Kouji)
($B3t(B)$B^I>BAH(B $B5;=Q8&5f=j(B
E-mail: mori@tri.asanuma.co.jp
