package core_unix

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Core_unix.Exit_or_signal_or_stopSource

Sourcetype error = [
  1. | Exit_or_signal.error
  2. | `Stop of Core.Signal.t
]
Sourceval sexp_of_error : error -> Sexplib0.Sexp.t
Sourceval error_of_sexp : Sexplib0.Sexp.t -> error
Sourceval __error_of_sexp__ : Sexplib0.Sexp.t -> error
Sourcetype t = (unit, error) Core.Result.t
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval of_unix : Core_unix__.Import.Unix.process_status -> t

of_unix assumes that any signal numbers in the incoming value are OCaml internal signal numbers.

Sourceval to_string_hum : t -> string
Sourceval or_error : t -> unit Core.Or_error.t
OCaml

Innovation. Community. Security.