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 (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
like.
But it will require changing your calls to printf by IO.printf for example.

Nicolas