class out_channel_obj : out_channel -> object .. end
method output : string -> int -> int -> int
#output buf pos len writes up to len characters from
string buf, starting at offset pos, to the given object
output stream and returns the number of characters actually
written. A return value 0 (when len > 0) means that the
write would block (and we are in non-blocking mode).
Raises Invalid_argument "Socket.output" if pos and len
do not designate a valid substring of buf.
method output_char : char -> unit
method output_string : string -> unit
method fprintf : 'a. ('a, unit, string, unit) format4 -> 'a
method flush : unit -> unit
Flush the buffer associated with the output channel,
performing all pending writes on that channel. Interactive
programs must be careful about flushing standard output and
standard error at the right time.
method close_out : unit -> unit
Close the given channel, flushing all buffered write
operations. See
Socket.close_out.