🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Porque fflush no funciona

#13896
From: Santiago Romero
Date: Thu, 28 Dec 2000 14:35
38 lines
2242 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Wed, 27 Dec 2000 18:05:06 +0100, Piriz escribi�:
>Hola a todos tengo este peque~n codigo :
>
>		fflush(stdin);
>
>El problema es que fflush no me limpia el retorno de carro 
>con lo cual pasa dos veces y no entiendo porque no 
>funciona.Hay alguna otra solucion que no sea demasiado
>aparatosa. Gracias.

 hace un tiempo se habl� del tema. Busca en www.deja.com/usenet
 por fflush y veras (en este grupo) una larga lista de mensajes
 y su soluci�n.

 salu2!

PD: fflush() se usa solo para flujos de salida. Stdin es de entrada,
    no hace nada en el, no sirve de nada, aunque en msdos hiciera
    algo, aqui no, porque NO debe hacerlo. Lee lo que te falte y au.
- -- 
$> cd /pub ; more beer
_-----------------------------------------------------_
|  NoP / Compiler    --    compiler@escomposlinux.org   |
|-------------------------------------------------------|
|  POWERED BY - Linux Debian 2.2  -  Reg. User #74.821  |
|  http://www.escomposlinux.org/sromero   ICQ 98602813  |
 ~-----------------------------------------------------~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjpLT6gACgkQx0J/i4MrH+fh3QCff6P9zakRq7aK/4aK9hAqVGd+
bVIAoKWY+izAwGVTGxD0Fegv9AKvHs4H
=qgNa
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <83jf29.3d.ln@127.0.0.1>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fu-berlin.de!uni-berlin.de!va1-tp-1-u-0032.du.onolab.COM!not-for-mail
References: <slrn94k8a2.on.Piriz@redhat.red>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,666cb591e6a712c7
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-12-28 06:49:51 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fu-berlin.de!uni-berlin.de!va1-tp-1-u-0032.du.onolab.COM!not-for-mail
From: sromero@escomposlinux.org (Santiago Romero)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Porque fflush no funciona
Date: Thu, 28 Dec 2000 15:35:20 +0100
Lines: 38
Message-ID: <83jf29.3d.ln@127.0.0.1>
References: <slrn94k8a2.on.Piriz@redhat.red>
Reply-To: compiler@escomposlinux.org
NNTP-Posting-Host: va1-tp-1-u-0032.du.onolab.com (62.42.44.33)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 978014989 7304531 62.42.44.33 (16 [39726])
User-Agent: slrn/0.9.6.2 (Linux)