package stdcompat

  1. Overview
  2. Docs
type backend_type = Sys.backend_type =
  1. | Native
  2. | Bytecode
  3. | Other of string
type signal_behavior = Sys.signal_behavior =
  1. | Signal_default
  2. | Signal_ignore
  3. | Signal_handle of int -> unit
val getenv_opt : string -> string option
val backend_type : backend_type
val int_size : int
val runtime_variant : unit -> string
val runtime_parameters : unit -> string
val sigbus : int
val sigpoll : int
val sigsys : int
val sigtrap : int
val sigurg : int
val sigxcpu : int
val sigxfsz : int
val enable_runtime_warnings : bool -> unit
val runtime_warnings_enabled : unit -> bool
val opaque_identity : 'a -> 'a
val unix : bool
val win32 : bool
val cygwin : bool
val big_endian : bool
val is_directory : string -> bool
val argv : string array
val executable_name : string
val file_exists : string -> bool
val remove : string -> unit
val rename : string -> string -> unit
val getenv : string -> string
val command : string -> int
val time : unit -> float
val chdir : string -> unit
val getcwd : unit -> string
val readdir : string -> string array
val interactive : bool ref
val os_type : string
val word_size : int
val max_string_length : int
val max_array_length : int
val signal : int -> signal_behavior -> signal_behavior
val set_signal : int -> signal_behavior -> unit
val sigabrt : int
val sigalrm : int
val sigfpe : int
val sighup : int
val sigill : int
val sigint : int
val sigkill : int
val sigpipe : int
val sigquit : int
val sigsegv : int
val sigterm : int
val sigusr1 : int
val sigusr2 : int
val sigchld : int
val sigcont : int
val sigstop : int
val sigtstp : int
val sigttin : int
val sigttou : int
val sigvtalrm : int
val sigprof : int
val catch_break : bool -> unit
val ocaml_version : string
OCaml

Innovation. Community. Security.