UnixInputStream.this

Creates a new #GUnixInputStream for the given fd.

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

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

a new #GUnixInputStream