aboutsummaryrefslogtreecommitdiff
path: root/trunk/examples/glibivyprobe.ml
blob: fb7e1f3da79a37b5a9e18eea9d95ba6eb5eb6f30 (plain)
1
2
3
4
5
6
7
8
9
(* $Id$ *)

let _ =
  Ivyprobe.init ();
  try
    ignore (GlibIvy.set_up_channel Unix.stdin Ivy.stop (fun _ -> Ivyprobe.read stdin));
    GlibIvy.main ()
  with
    End_of_file -> Ivy.stop ()