type backend_type = Stdlib.Sys.backend_type =
| Native
| Bytecode
| Other of string
| Native | Bytecode | Other of string
type signal_behavior = Stdlib.Sys.signal_behavior =
| Signal_default
| Signal_ignore
| Signal_handle of int -> unit
| Plus | Tilde
type ocaml_release_info = Stdlib.Sys.ocaml_release_info = {
major : int;
minor : int;
patchlevel : int;
}
type ocaml_release_info =
major: int ;
minor: int ;
patchlevel: int ;
extra: extra_info option
val development_version : bool
val mkdir : string -> int -> unit
val rmdir : string -> unit
val max_floatarray_length : int
val getenv_opt : string -> string option
val runtime_variant : unit -> string
external runtime_variant : unit -> string = "caml_runtime_variant"
val runtime_parameters : unit -> string
external runtime_parameters : unit -> string = "caml_runtime_parameters"
val enable_runtime_warnings : bool -> unit
val runtime_warnings_enabled : unit -> bool
val opaque_identity : 'a -> 'a
val is_directory : string -> bool
external is_directory : string -> bool = "caml_sys_is_directory"
val executable_name : string
val file_exists : string -> bool
external file_exists : string -> bool = "caml_sys_file_exists"
val remove : string -> unit
val rename : string -> string -> unit
external rename : string -> string -> unit = "caml_sys_rename"
val getenv : string -> string
val command : string -> int
external command : string -> int = "caml_sys_system_command"
external time : unit -> ((float)@unboxed
) = "caml_sys_time" "caml_sys_time_unboxed" @@noalloc
val chdir : string -> unit
val getcwd : unit -> string
val readdir : string -> string array
external readdir : string -> string array = "caml_sys_read_directory"
external readdir : string -> string array = "sys_read_directory"
val interactive : bool Stdlib.ref
val max_string_length : int
val max_array_length : int
external signal : int -> signal_behavior -> signal_behavior = "caml_install_signal_handler"
external signal : int -> signal_behavior -> signal_behavior = "install_signal_handler"
val catch_break : bool -> unit
val ocaml_version : string