UnixInputStream.this

Creates a new gio.UnixInputStream for the given fd.

If close_fd is TRUE, the file descriptor will be closed when the stream is closed.

  1. this(GUnixInputStream* gUnixInputStream, bool ownedRef)
  2. this(int fd, bool closeFd)
    class UnixInputStream
    this
    (
    int fd
    ,
    bool closeFd
    )

Parameters

fd int

a UNIX file descriptor

closeFd bool

TRUE to close the file descriptor when done

Return Value

Throws

ConstructionException GTK+ fails to create the object.