package albatross

  1. Overview
  2. Docs
val pp_sockaddr : Stdlib.Format.formatter -> Lwt_unix.sockaddr -> unit
val port_socket : Ipaddr.t -> int -> Lwt_unix.file_descr Lwt.t

Listen on a port.

val systemd_socket : unit -> Lwt_unix.file_descr Lwt.t

Listen on a socket passed by systemd through a variable.

Listen on a socket bound to a service.

val pp_process_status : Stdlib.Format.formatter -> Unix.process_status -> unit
val ret : Unix.process_status -> Vmm_core.process_exit
val waitpid : int -> (int * Lwt_unix.process_status, unit) Stdlib.result Lwt.t
val wait_and_clear : int -> Vmm_core.process_exit Lwt.t
val read_wire : Lwt_unix.file_descr -> (Vmm_commands.wire, [> `Eof | `Exception | `Toomuch ]) Stdlib.result Lwt.t
val write_raw : Lwt_unix.file_descr -> bytes -> (unit, [> `Exception ]) Stdlib.result Lwt.t
val write_wire : Lwt_unix.file_descr -> Vmm_commands.wire -> (unit, [> `Exception ]) Stdlib.result Lwt.t
val safe_close : Lwt_unix.file_descr -> unit Lwt.t
OCaml

Innovation. Community. Security.