Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 (19:58)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Line buffering
> Thanks for the info anyway.  It's somewhat annoying that stdout
> can't be line buffered.

If you wrap the stdout with an ExtLib IO filter, you can buffer it how you
But it will require changing your calls to printf by IO.printf for example.