English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Line buffering
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-12-07 (18:10)
From: Bruno.Verlyck@i...
Subject: Re: [Caml-list] Line buffering
   Date: Tue, 7 Dec 2004 13:57:45 +0000
   From: Richard Jones <rich@annexia.org>

   Is there a way to set line buffering, particularly of stdout?
Short answer: no.

The OCaml I/O system doesn't use C's FILE *.  It's (much) simpler,
efficient, and just not done with line buffering as a goal.  I looked
at it (io.c) while implementing Cash (line buffering is in the
original specification), and adding this would have made a too big
patch.  I gave up.