Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Bruno.