Class: Gio::UnixOutputStream
- Inherits:
-
OutputStream
- Object
- OutputStream
- Gio::UnixOutputStream
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#close_fd ⇒ Boolean
Returns whether the file descriptor of stream will be closed when the stream is closed.
-
#close_fd=(close_fd) ⇒ Boolean
Whether to close the file descriptor when the stream is closed.
-
#close_fd? ⇒ Boolean
Whether to close the file descriptor when the stream is closed.
-
#fd ⇒ Integer
The file descriptor that the stream writes to.
-
#fd=(fd) ⇒ Integer
The file descriptor that the stream writes to.
-
#initialize(fd, close_fd) ⇒ Gio::OutputStream
constructor
Creates a new GUnix::OutputStream for the given fd.
Methods inherited from OutputStream
#clear_pending, #close, #close_async, #close_finish, #flush, #flush_async, #flush_finish, #has_pending, #is_closed, #is_closing, open, #printf, #set_pending, #splice, #splice_async, #splice_finish, #vprintf, #write, #write_all, #write_all_async, #write_all_finish, #write_async, #write_bytes, #write_bytes_async, #write_bytes_finish, #write_finish, #writev, #writev_all, #writev_all_async, #writev_all_finish, #writev_async, #writev_finish
Constructor Details
#initialize(fd, close_fd) ⇒ Gio::OutputStream
Creates a new GUnix::OutputStream for the given fd.
If close_fd, is true, the file descriptor will be closed when the output stream is destroyed.
Instance Method Details
#close_fd ⇒ Boolean
Returns whether the file descriptor of stream will be closed when the stream is closed.
#close_fd=(close_fd) ⇒ Boolean
Whether to close the file descriptor when the stream is closed.
#close_fd? ⇒ Boolean
Whether to close the file descriptor when the stream is closed.
#fd ⇒ Integer
The file descriptor that the stream writes to.
#fd=(fd) ⇒ Integer
The file descriptor that the stream writes to.