Class: Gio::UnixInputStream
- Inherits:
-
Object
- Object
- Gio::UnixInputStream
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#close_fd ⇒ TrueClass
Returns whether the file descriptor of stream will be closed when the stream is closed.
-
#close_fd=(close_fd) ⇒ TrueClass
Whether to close the file descriptor when the stream is closed.
-
#close_fd? ⇒ TrueClass
Whether to close the file descriptor when the stream is closed.
-
#fd ⇒ Integer
The file descriptor that the stream reads from.
-
#fd=(fd) ⇒ Integer
The file descriptor that the stream reads from.
-
#new(fd, close_fd) ⇒ Gio::InputStream
Creates a new GUnix::InputStream for the given fd.
Instance Method Details
#close_fd ⇒ TrueClass
Returns whether the file descriptor of stream will be closed when the stream is closed.
#close_fd=(close_fd) ⇒ TrueClass
Whether to close the file descriptor when the stream is closed.
#close_fd? ⇒ TrueClass
Whether to close the file descriptor when the stream is closed.
#fd ⇒ Integer
The file descriptor that the stream reads from.
#fd=(fd) ⇒ Integer
The file descriptor that the stream reads from.
#new(fd, close_fd) ⇒ Gio::InputStream
Creates a new GUnix::InputStream for the given fd.
If close_fd is true, the file descriptor will be closed when the stream is closed.