🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10177

Re: Cuestiones sobre programacion puerto serie

#10177
From: Jesús Ángel
Date: Tue, 19 Mar 2002 19:46
29 lines
2263 bytes
In article <slrna9f4ag.7fp.adrianr@localhost.localdomain>,
Adrian Rossiter wrote:
> fichero no habr� nada en el fichero. Podr�as solucionarlo con un
> fflush(stdout) al final del do/while bucle. Pero si el programa termina

He puesto el fflush(stdout) justo despu�s del printf() y se ha
solucionado. Gracias

> Con estas condiciones (MIN>0, TIME>0) el temp�rizador no empieza hasta
> que el read reciba el primer byte.

S�, pero el tema es que se reciben varios bytes, pero cuando se deja de
recibir bytes en el puerto serie el temporizador no saltay read(2) sigue
esperando nuevos bytes.

Gracias por tu respuesta.

Saludos

-- 
 Jes�s �ngel del Pozo Dom�nguez
 Valladolid                         __�
 GnuPG key-id: 0x17FB6CCE         _ \<_
 http://www.tel.uva.es/~jpozdom  (_)/(_)
           _                                      _
      ~0  (_|  . - ' - . _ . - ' - . _ . - ' - . |_)  O
     |(_~|^~~|                                  |~~^|~_)|
     TT/_ T"T                                    T"T _\HH
jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Technical Details
Message-ID: <slrna9f6b1.17t.jpozdom@sol.linux.bogus>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!jussieu.fr!news.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mail
References: <slrna9efmg.1b5.jpozdom@sol.linux.bogus> <slrna9f4ag.7fp.adrianr@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,ab207f181b45ad15
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-19 11:55:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!jussieu.fr!news.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mail
From: Jesús Ángel <jpozdom@ribera.tel.uva.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Cuestiones sobre programacion puerto serie
Date: 19 Mar 2002 19:46:22 GMT
Organization: Sitio privado
Lines: 29
Message-ID: <slrna9f6b1.17t.jpozdom@sol.linux.bogus>
References: <slrna9efmg.1b5.jpozdom@sol.linux.bogus> <slrna9f4ag.7fp.adrianr@localhost.localdomain>
NNTP-Posting-Host: cable222a088.usuarios.retecal.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: titan.bt.es 1016567182 24158 212.183.222.88 (19 Mar 2002 19:46:22 GMT)
X-Complaints-To: abuse@bt.es
NNTP-Posting-Date: 19 Mar 2002 19:46:22 GMT
User-Agent: slrn/0.9.7.2 (Linux)