package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Unix_output_stream/index.html

Module Wrappers.Unix_output_stream

type t = [ `unix_output_stream | `output_stream | `object_ ] Gobject.obj
val new_ : int -> bool -> t

Create a new UnixOutputStream

val set_close_fd : t -> bool -> unit

Sets whether the file descriptor of @stream shall be closed when the stream is closed.

val get_fd : t -> int

Return the UNIX file descriptor that the stream writes to.

val get_close_fd : t -> bool

Returns whether the file descriptor of @stream will be closed when the stream is closed.