stdio

Standard IO library for OCaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdio
Module Stdio
module In_channel : sig ... end

An input channel for doing blocking reads from input sources like files and sockets.

module Out_channel : sig ... end

An output channel for doing blocking writes to destinations like files and sockets.

val stdin : In_channel.t
val stdout : Out_channel.t
val stderr : Out_channel.t
val printf : ( 'a, Out_channel.t, Base.unit ) Base.format -> 'a
val print_s : ?mach:Base.unit -> Base.Sexp.t -> Base.unit
val eprint_s : ?mach:Base.unit -> Base.Sexp.t -> Base.unit
val eprintf : ( 'a, Out_channel.t, Base.unit ) Base.format -> 'a
val print_string : Base.string -> Base.unit
val print_endline : Base.string -> Base.unit
val prerr_endline : Base.string -> Base.unit