/usr/lib/ocaml/lambda-term/lTerm_unix.mli is in liblambda-term-ocaml-dev 1.10.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | (*
* lTerm_unix.mli
* --------------
* Copyright : (c) 2011, Jeremie Dimino <jeremie@dimino.org>
* Licence : BSD3
*
* This file is a part of Lambda-Term.
*)
(** Unix specific functions *)
open CamomileLibraryDyn.Camomile
val sigwinch : int option
(** The number of the signal used to indicate that the terminal size
have changed. It is [None] on windows. *)
val system_encoding : string
(** The encoding used by the system. *)
val parse_event : ?escape_time : float -> CharEncoding.t -> char Lwt_stream.t -> LTerm_event.t Lwt.t
(** [parse_event encoding stream] parses one event from the given
input stream. [encoding] is the character encoding used to
decode non-ascii characters. It must be a converter from the
stream encoding to "UCS-4BE". If an invalid sequence is
encountered in the input, it fallbacks to Latin-1. [escape_time]
is the time waited before returning the escape key. It defaults
to [0.1]. *)
|