package spin

  1. Overview
  2. Docs
include module type of struct include Sys end
val get_argv : unit -> string array
val argv : string array
  • deprecated [since 2019-08] Use [Sys.get_argv] instead, which has the correct behavior when [caml_sys_modify_argv] is called.
val interactive : bool Stdlib.ref
val os_type : string
val unix : bool
val win32 : bool
val cygwin : bool
type backend_type = Base__.Sys0.backend_type =
  1. | Native
  2. | Bytecode
  3. | Other of string
val backend_type : backend_type
val word_size_in_bits : int
val int_size_in_bits : int
val big_endian : bool
val max_string_length : int
val max_array_length : int
val runtime_variant : unit -> string
val runtime_parameters : unit -> string
val ocaml_version : string
val enable_runtime_warnings : bool -> unit
val runtime_warnings_enabled : unit -> bool
val getenv : string -> string option
val getenv_exn : string -> string
val opaque_identity : 'a -> 'a
val opaque_identity_global : 'a -> 'a
val rand_digits : unit -> string
val mk_temp_dir : ?mode:Unix.file_perm -> ?dir:string -> string -> string
val ls_dir : ?recursive:bool -> string -> string List.t
OCaml

Innovation. Community. Security.