Newsgroups: fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sinfony-news!news01.so-net.or.jp!infosphere!asakanet!axion!asakagw!fiaskry!nh1!sakunami!chiba-ns!news.chiba-u.ac.jp!eclnews!sinetnews!newssinet!paris!alps!cryst!escargot!t-server!mech.t.u-tokyo.ac.jp!is.s.u-tokyo!zion.phys.s.u-tokyo.ac.jp!news.nc.u-tokyo.ac.jp!inssun!news
From: ichiro@herz1.ins.u-tokyo.ac.jp (Ichiro Suzuki)
Subject: Re: FileHandle & read()
In-Reply-To: takesi@is.titech.ac.jp's message of 10 Nov 1996 20:44:41 +0900
Message-ID: <s5loc8t1cp.fsf@herz1.ins.u-tokyo.ac.jp>
Lines: 19
Sender: ichiro@herz1.ins.u-tokyo.ac.jp
Organization: Institute for Nuclear Study, University of Tokyo
X-Newsreader: Gnus v5.0.15
References: <xjhybgai386.fsf@bronze.is.titech.ac.jp>
Date: Tue, 12 Nov 1996 03:54:14 GMT
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:1443
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=1443&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BNkLZ(B $B0lO:!wElBg3K8&$G$9!#(B

In article <xjhybgai386.fsf@bronze.is.titech.ac.jp> takesi@is.titech.ac.jp (SASAKI Takesi) writes:
>   perl$B$G$O%U%!%$%k%O%s%I%k(B (<IN> $B$H$+(B) $B$H(B read() $B$r$4$A$c$^$<$K(B
>   $B;H$C$F$$$$$b$N$J$s$G$7$g$&$+(B?

    $B$$$1$J$$$b$N$G$9!#(B
    Perl $B$K8B$j$^$;$s$,!"(Bbuffered I/O (<> in Perl, fread() in C) $B$H(B
raw I/O (read() in Perl and C) $B$r:.$<$F;H$&$H%W%m%0%i%`$,FI$_9~$s$@$H(B
$B;W$C$F$$$k$b$N$H<B:]$K%U%!%$%k$+$iFI$_=P$5$l$?$b$N$N4V$K$:$l$,$G$-$^$9!#(B
    $B$I$&$7$F$bJ;MQ$7$?$$>l9g$O(B buffer size $B$r(B 0 $B$K$9$k!"(B output $B$N8e$K$O(B
fflush() $B$r8F$V$J$I$NJ}K!$O$"$j$^$9$,!"JRJ}$@$1$G%W%m%0%i%`$r=q$-D>$9J}$,(B
$B0BA4$G$-$l$$$@$H;W$$$^$9!#(B
    Manual $B$N(B intro(3), fflush(3), streamio(7) (SysV) $BEy$b;2>H$7$F$/$@$5$$!#(B

------------------------------------------------------------------------
$BNkLZ(B $B0lO:(B (Ichiro Suzuki)                ichiro@insux1.ins.u-tokyo.ac.jp
$B!vG/CfL55k!v(B                        $BEl5~Bg3X(B $B86;R3K8&5f=j(B $B9b%(%M%k%.!<It(B
------------------------------------------------------------------------
