Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!newsfeed.btnis.ad.jp!news-out.internetmci.com!newsfeed.internetmci.com!202.216.224.169!news.dti.ad.jp!taurus!usenet
From: manmos@stellar.co.jp (Hideo "Sir MaNMOS" Morishita)
Subject: Re: [Q]gcc: keybord hit detect
X-Nntp-Posting-Host: capricorn
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <x2u3ervg02.fsf@capricorn.stellar.co.jp>
Sender: manmos@capricorn
Organization: Stellar Craft, Inc. Osaka,Japan.
X-Newsreader: Gnus v5.3/Emacs 19.34
References: <tatematsu-0910970901070001@mactate.nro.nao.ac.jp>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Date: Thu, 9 Oct 1997 02:15:25 GMT
Lines: 30
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:5112
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=5112&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.


tatematsu@nro.nao.ac.jp (K. Tatematsu) writes:

> 
> $B$O$8$a$^$7$F(B
> 
> gcc$B$K$*$$$FF~NO%P%C%U%!$,6u$G$"$k$+$I$&$+$rF~NOBT$A$K$;$:$K(B
> $BD4$Y$k4X?t$O$"$k$N$G$7$g$&$+!)(B
> $B!t!!(BQuick C$B$G$N(Bkbhit$B$N$h$&$J5!G=$r;}$D$b$N$G$9!#(B
> 
> $B$h$m$7$/$*4j$$$7$^$9!#(B

OS$B$O(BUNIX$B7O$H$$$&$3$H$G$9$+!)(B(gcc$B$K$b(BUNIX$B$GF0$$$F$$$J$$$b$N$bB??t$"$k$b(B
$B$N$G!#(B)

$B!t$9$J$o$A(Bgcc$B$K0MB8$9$k$s$8$c$J$/$F(Bioctl$B$K0MB8$9$k$s$@$1$I!#(B

intfd;
intn;

ioctl(fd,FIONREAD,&n)

$B$G(Bn$B$K(Bread$B2DG=$J%P%$%H?t$,JV$j$^$9!#(B


-- 
   ___     $B$o$7$O!";3?a?'$N$+$9$F!<$i$,Bg9%$-$G$N$%(B
 [[o o]]            $B$U$)$C$U$)$C$U$)(B
   'J'     $B?92<(B $B$*Be41MM(B $B#M#a#N#M#O#S(B $B1QIW!w%9%F%i%/%i%U%H(B
PGP Finger = CD EA D5 A8 AD B2 FE 7D  02 74 87 52 7C B7 39 37
