package ocamlbuild

  1. Overview
  2. Docs
exception Exit_OK
exception Exit_usage of string
exception Exit_system_error of string
exception Exit_with_code of int
exception Exit_silently_with_code of int
val ksbprintf : (string -> 'a) -> ('b, Stdlib.Format.formatter, unit, 'a) Stdlib.format4 -> 'b
val sbprintf : ('a, Stdlib.Format.formatter, unit, string) Stdlib.format4 -> 'a
module Set : sig ... end
module Digest : sig ... end
module StringSet : sig ... end
val sys_readdir : string -> (string array, exn) Outcome.t
val sys_remove : string -> unit
val reset_readdir_cache : unit -> unit
val reset_filesys_cache : unit -> unit
val reset_filesys_cache_for_file : string -> unit
val sys_file_exists : string -> bool
val sys_command : string -> int
val filename_concat : string -> string -> string
val invalid_arg' : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
val opt_print : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a option -> unit
val the : 'a option -> 'a
val getenv : ?default:string -> string -> string
val with_input_file : ?bin:bool -> string -> (Stdlib.in_channel -> 'a) -> 'a
val with_output_file : ?bin:bool -> string -> (Stdlib.out_channel -> 'a) -> 'a
val with_temp_file : string -> string -> (string -> 'a) -> 'a
val read_file : string -> string
val copy_chan : Stdlib.in_channel -> Stdlib.out_channel -> unit
val copy_file : string -> string -> unit
val print_string_list : Stdlib.Format.formatter -> string list -> unit
val (!*) : 'a Stdlib.Lazy.t -> 'a
val (&) : ('a -> 'b) -> 'a -> 'b
val (|>) : 'a -> ('a -> 'b) -> 'b
val (@:=) : 'a list Stdlib.ref -> 'a list -> unit
val memo : ('a -> 'b) -> 'a -> 'b
val memo2 : ('a -> 'b -> 'c) -> 'a -> 'b -> 'c
val memo3 : ('a -> 'b -> 'c -> 'd) -> 'a -> 'b -> 'c -> 'd
val set_lexbuf_fname : string -> Stdlib.Lexing.lexbuf -> unit
val lexbuf_of_string : ?name:string -> string -> Stdlib.Lexing.lexbuf
val split_ocaml_version : (int * int * int * string) option
OCaml

Innovation. Community. Security.