Browse thread
[Caml-list] problem with Printf.printf when linking in bytecode interpreter to C app
-
Kip Macy
-
SooHyoung Oh
- Kip Macy
-
SooHyoung Oh
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-01-26 (05:52) |
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