Article View: pl.comp.os.linux.programowanie
Article #72273Re: Czytanie z klawiatury przez fd=open
From: Bartosz Feński aka fEnIo
Date: Sun, 24 Jul 2011 08:14
Date: Sun, 24 Jul 2011 08:14
19 lines
1346 bytes
1346 bytes
W artykule rysiek rxrxrx napisał(a):
> Czy można czytać klawiatur przez:
>
> int fd=open("/dev/xxx", O_RDONLY)
> read()
>
> Jeżeli tak to co podać za xxx
/dev/stdin?
pozdr,
fEnIo
--
,''`. Bartosz Fenski | mailto:fenio@debian.org | pgp:0x13fefc40 | irc:fEnIo
: :' : 32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
`. `' phone:+48602383548 | proud Debian maintainer and user
`- http://fenski.pl | xmpp:fenio@jabber.org | rlu:172001
Technical Details
Message-ID:
<slrnj2nl2q.krd.fenio@serwer.fenski.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!serwer.fenski.pl!not-for-mailReferences:
<j0gjd6$5le$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!serwer.fenski.pl!not-for-mail From: Bartosz Feński aka fEnIo <fenio@debian.org> Newsgroups: pl.comp.os.linux.programowanie Subject: Re: Czytanie z klawiatury przez fd=open Date: Sun, 24 Jul 2011 10:14:18 +0200 Organization: Front Wyzwolenia Krasnali Ogrodowych Lines: 19 Message-ID: <slrnj2nl2q.krd.fenio@serwer.fenski.pl> References: <j0gjd6$5le$1@inews.gazeta.pl> Reply-To: fenio@debian.org NNTP-Posting-Host: serwer.fenski.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1311495302 20074 188.165.20.211 (24 Jul 2011 08:15:02 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Sun, 24 Jul 2011 08:15:02 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit