UnixOutputStream
Superclasses: OutputStream
, Object
Implemented Interfaces: FileDescriptorBased
, PollableOutputStream
- Constructors:
UnixOutputStream(**properties)
new(fd:int, close_fd:bool) -> Gio.OutputStream
Constructors
- class UnixOutputStream
- classmethod new(fd: int, close_fd: bool) OutputStream
Creates a new
UnixOutputStream
for the givenfd
.If
close_fd
, isTrue
, the file descriptor will be closed when the output stream is destroyed.- Parameters:
fd – a UNIX file descriptor
close_fd –
True
to close the file descriptor when done