package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.6.tar.gz
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2

doc/gapi-ocaml.netstring-local/Netchannels/class-output_descr/index.html

Class Netchannels.output_descrSource

Creates a raw_out_channel for the passed file descriptor, which must * be open for writing. * * The pos_out method returns logical positions, i.e. it counts the number * of written octets. It is not tried to determine the real file position. * * The method close_out also closes the file descriptor. * * This class also supports Win32 proxy descriptors referring to an output * channel. * *

  • parameter blocking

    Whether the channel waits until it can output if it is not * possible to write to the (non-blocking) descriptor. Defaults to true. *

    @param start_pos_out

    The position to which pos_out is initialized when * the channel is created, by default 0 *

    @param fd_style

    The descriptor style. If omitted, it is automatically * determined if possible.

method pos_out : int

Returns the current channel position. This position can be expected * to be consistent with the returned number of bytes of output, i.e. * when output returns n, the position is advanced by n. * * As seek operations are outside the scope of Netchannels, * implementations may or may not take seek operations into account.

OCaml

Innovation. Community. Security.