include module type of struct include Stdlib.In_channel end
type t = Stdlib.in_channeltype open_flag = Stdlib.open_flag = | Open_rdonly| Open_wronly| Open_append| Open_creat| Open_trunc| Open_excl| Open_binary| Open_text| Open_nonblock
val open_bin : string -> tval open_text : string -> tval open_gen : open_flag list -> int -> string -> tval with_open_bin : string -> (t -> 'a) -> 'aval with_open_text : string -> (t -> 'a) -> 'aval with_open_gen : open_flag list -> int -> string -> (t -> 'a) -> 'aval close_noerr : t -> unitval fold_lines : ('acc -> string -> 'acc) -> 'acc -> t -> 'accval seek : t -> int64 -> unitval set_binary_mode : t -> bool -> unitval is_binary_mode : t -> bool