]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/utils/terminfo.mli
Inital import
[l4.git] / l4 / pkg / ocaml / contrib / utils / terminfo.mli
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 (***********************************************************************)
12
13 (* $Id: terminfo.mli 6045 2004-01-01 16:42:43Z doligez $ *)
14
15 (* Basic interface to the terminfo database *)
16
17 type status =
18   | Uninitialised
19   | Bad_term
20   | Good_term of int  (* number of lines of the terminal *)
21 ;;
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";;