Merge commit 'ocaml3102'
[ocaml.git] / utils / terminfo.ml
blobcc1799108168f08cb4771b6a3ac30d81f37af240
1 (***********************************************************************)
2 (* *)
3 (* Objective Caml *)
4 (* *)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
10 (* *)
11 (***********************************************************************)
13 (* $Id$ *)
15 (* Basic interface to the terminfo database *)
17 type status =
18 | Uninitialised
19 | Bad_term
20 | Good_term of int
22 external setup : out_channel -> status = "caml_terminfo_setup";;
23 external backup : int -> unit = "caml_terminfo_backup";;
24 external standout : bool -> unit = "caml_terminfo_standout";;
25 external resume : int -> unit = "caml_terminfo_resume";;