UnixOutputStream.this

Creates a new #GUnixOutputStream for the given @fd.

If @close_fd, is %TRUE, the file descriptor will be closed when the output stream is destroyed.

  1. this(GUnixOutputStream* gUnixOutputStream, bool ownedRef)
  2. this(int fd, bool closeFd)
    class UnixOutputStream
    this
    (
    int fd
    ,
    bool closeFd
    )

Parameters

fd int

a UNIX file descriptor

closeFd bool

%TRUE to close the file descriptor when done

Return Value

a new #GOutputStream

Throws

ConstructionException GTK+ fails to create the object.

Meta