gio.file_descriptor_based_mixin

Module for [FileDescriptorBased] interface mixin

Templates 2

tmplFileDescriptorBasedT()

[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.

Functions
int getFd()

Gets the underlying file descriptor.

Returns

The file descriptor
tmplFileDescriptorBasedGidBuilderT()