FileDescriptorBasedT

gio.file_descriptor_based.FileDescriptorBased is an interface for file descriptor based IO.

It is implemented by streams (implementations of gio.input_stream.InputStream or gio.output_stream.OutputStream) that are based on file descriptors.

Note that <gio/gfiledescriptorbased.h> belongs to the UNIX-specific GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file or the GioUnix-2.0 GIR namespace when using it.

template FileDescriptorBasedT () {}

Members

Functions

getFd
int getFd()

Gets the underlying file descriptor.