Article View: es.comp.os.linux.programacion
Article #10850Re: Distinguir descriptor
From: Ignacio Arenaza
Date: Sat, 26 Jan 2002 00:25
Date: Sat, 26 Jan 2002 00:25
25 lines
1814 bytes
1814 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Lokutus" == Lokutus <Lokutus2000@nclack.mar> writes:
Lokutus> /* Paso numero 1, determinar si stdin, se corresponde
Lokutus> con un socket o con la consola.*/
Peque�o detalle.... stdin es el descriptor numero 0, no el 1. El 1 es
stdout ;-)
Saludos. I�aki.
- --
Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.html
I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG
iD8DBQE8UfdsZXLnGT1HLgcRArhpAJ4s0VZIf9tj6nlcWAl1Qu6EAlCsmgCgiDK1
pFjE/OEATsq6wihIZotJRiM=
=AbI/
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<87wuy6ot5e.fsf@eb2ebu.ampr.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mailReferences:
<a2ptvt$pfa$1@diana.bcn.ttd.net> <877kq71hq4.fsf@eb2ebu.ampr.org> <a2srck$nq6$1@diana.bcn.ttd.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,4cbc2d8c4bbcdec X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-01-26 07:41:04 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mail From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: Distinguir descriptor Date: 26 Jan 2002 01:25:17 +0100 Organization: Servidor NNTP de eb2ebu.ampr.org Lines: 25 Message-ID: <87wuy6ot5e.fsf@eb2ebu.ampr.org> References: <a2ptvt$pfa$1@diana.bcn.ttd.net> <877kq71hq4.fsf@eb2ebu.ampr.org> <a2srck$nq6$1@diana.bcn.ttd.net> NNTP-Posting-Host: 62-36-89-45.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.wanadoo.es 1012059570 9030 62.36.89.45 (26 Jan 2002 15:39:30 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Sat, 26 Jan 2002 15:39:30 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7