Module Uwt_compat.Lwt_io

module Lwt_io: sig .. end

include Uwt_io
val open_file : ?buffer:Lwt_bytes.t ->
?flags:Unix.open_flag list ->
?perm:Unix.file_perm -> mode:'a mode -> file_name -> 'a channel Lwt.t
val with_file : ?buffer:Lwt_bytes.t ->
?flags:Unix.open_flag list ->
?perm:Unix.file_perm ->
mode:'a mode -> file_name -> ('a channel -> 'b Lwt.t) -> 'b Lwt.t
val open_temp_file : ?buffer:Lwt_bytes.t ->
?flags:Unix.open_flag list ->
?perm:Unix.file_perm ->
?temp_dir:string -> ?prefix:string -> unit -> (string * output_channel) Lwt.t
val with_temp_file : ?buffer:Lwt_bytes.t ->
?flags:Unix.open_flag list ->
?perm:Unix.file_perm ->
?temp_dir:string ->
?prefix:string -> (string * output_channel -> 'b Lwt.t) -> 'b Lwt.t