Merge commit 'ocaml3102'
[ocaml.git] / utils / terminfo.mli
blobef26b61a51f7ab370c6454051f677a3d94dc7e77
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 (* number of lines of the terminal *)
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";;