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(void* ptr, Flag!"Take" take)
  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