Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] problem with Printf.printf when linking in bytecode interpreter to C app
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kip Macy <kmacy@f...>
Subject: Re: [Caml-list] problem with Printf.printf when linking in bytecode interpreter to C app
Excellent. Thanks.


			-Kip

On Mon, 26 Jan 2004, SooHyoung Oh wrote:

> It seems that the output buffer is not flushed.
> Use "flush stdout" after Printf.printf.
> For example,
>
> let _ = Printf.printf "ocaml inited\n"; flush stdout
> let foo () = Printf.printf "this works\n"; flush stdout
>
> ---
> SooHyoung Oh

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners