Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Read boot parameter line and store in assoc list. Expected format is "key1=val1 key2=val2"
.
val get : t -> string -> string option
Get boot parameter. Returns None
if the parameter is not found.
val get_exn : t -> string -> string
Get boot parameter. Raises Parameter_not_found s
if the parameter is not found.
val parameters : t -> (string * string) list
Returns the assoc list of key and values.
val argv : unit -> [ `Ok of string array | `Error of string ] Lwt.t
Return an argv-like structure.