package mirage-console-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error = [
  1. | `Invalid_console of string
]
type 'a io = 'a Lwt.t
type t
type id = string
val id : t -> id
val connect : id -> [ `Error of error | `Ok of t ] io
val disconnect : t -> unit io
val write : t -> string -> int -> int -> int
val write_all : t -> string -> int -> int -> unit io
val log : t -> string -> unit
val log_s : t -> string -> unit io