package stdcompat

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stdcompat.Out_channelSource

  • since 4.14.0: type t = out_channel
Sourcetype open_flag = Out_channel.open_flag =
  1. | Open_rdonly
  2. | Open_wronly
  3. | Open_append
  4. | Open_creat
  5. | Open_trunc
  6. | Open_excl
  7. | Open_binary
  8. | Open_text
  9. | Open_nonblock
  • since 4.14.0:

type open_flag = Out_channel.open_flag = | Open_rdonly | Open_wronly | Open_append | Open_creat | Open_trunc | Open_excl | Open_binary | Open_text | Open_nonblock

Sourceval output_bigarray : t -> ('a, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t -> int -> int -> unit
  • since 5.2.0:

val output_bigarray : t -> ('a, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t -> int -> int -> unit

Sourceval is_binary_mode : t -> bool
  • since 5.2.0: val is_binary_mode : t -> bool
Sourceval isatty : t -> bool
  • since 5.1.0: val isatty : t -> bool
Sourceval stdout : t
  • since 4.14.0: val stdout : t
Sourceval stderr : t
  • since 4.14.0: val stderr : t
Sourceval open_bin : string -> t
  • since 4.14.0: val open_bin : string -> t
Sourceval open_text : string -> t
  • since 4.14.0: val open_text : string -> t
Sourceval open_gen : open_flag list -> int -> string -> t
  • since 4.14.0: val open_gen : open_flag list -> int -> string -> t
Sourceval with_open_bin : string -> (t -> 'a) -> 'a
  • since 4.14.0: val with_open_bin : string -> (t -> 'a) -> 'a
Sourceval with_open_text : string -> (t -> 'a) -> 'a
  • since 4.14.0: val with_open_text : string -> (t -> 'a) -> 'a
Sourceval with_open_gen : open_flag list -> int -> string -> (t -> 'a) -> 'a
  • since 4.14.0:

val with_open_gen : open_flag list -> int -> string -> (t -> 'a) -> 'a

Sourceval close : t -> unit
  • since 4.14.0: val close : t -> unit
Sourceval close_noerr : t -> unit
  • since 4.14.0: val close_noerr : t -> unit
Sourceval output_char : t -> char -> unit
  • since 4.14.0: val output_char : t -> char -> unit
Sourceval output_byte : t -> int -> unit
  • since 4.14.0: val output_byte : t -> int -> unit
Sourceval output_string : t -> string -> unit
  • since 4.14.0: val output_string : t -> string -> unit
Sourceval output_bytes : t -> bytes -> unit
  • since 4.14.0: val output_bytes : t -> bytes -> unit
Sourceval output : t -> bytes -> int -> int -> unit
  • since 4.14.0: val output : t -> bytes -> int -> int -> unit
Sourceval output_substring : t -> string -> int -> int -> unit
  • since 4.14.0: val output_substring : t -> string -> int -> int -> unit
Sourceval flush : t -> unit
  • since 4.14.0: val flush : t -> unit
Sourceval flush_all : unit -> unit
  • since 4.14.0: val flush_all : unit -> unit
Sourceval seek : t -> int64 -> unit
  • since 4.14.0: val seek : t -> int64 -> unit
Sourceval pos : t -> int64
  • since 4.14.0: val pos : t -> int64
Sourceval length : t -> int64
  • since 4.14.0: val length : t -> int64
Sourceval set_binary_mode : t -> bool -> unit
  • since 4.14.0: val set_binary_mode : t -> bool -> unit
Sourceval set_buffered : t -> bool -> unit
  • since 4.14.0: val set_buffered : t -> bool -> unit
Sourceval is_buffered : t -> bool
  • since 4.14.0: val is_buffered : t -> bool
OCaml

Innovation. Community. Security.