package core_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. name : string;
  2. aliases : string array;
  3. proto : int;
}

Structure of entries in the protocols database.

include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val getbyname : string -> t option

Find an entry in protocols with the given name.

val getbyname_exn : string -> t
val getbynumber : int -> t option

Find an entry in protocols with the given protocol number.

val getbynumber_exn : int -> t
OCaml

Innovation. Community. Security.