Interface

GioFileDescriptorBased

Description [src]

interface Gio.FileDescriptorBased : GObject.Object

GFileDescriptorBased is implemented by streams (implementations of GInputStream or GOutputStream) 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 when using it.

Available since:2.24

Prerequisite

In order to implement FileDescriptorBased, your type must inherit from GObject.

Instance methods

g_file_descriptor_based_get_fd

Gets the underlying file descriptor.

Available since: 2.24

Interface structure

struct GioFileDescriptorBasedIface {
  GTypeInterface g_iface;
  int (* get_fd) (
    GFileDescriptorBased* fd_based
  );
  
}
Interface members
g_iface
GTypeInterface
 

The parent interface.

get_fd
int (* get_fd) (
    GFileDescriptorBased* fd_based
  )
 No description available.

Virtual methods

Gio.FileDescriptorBased.get_fd

Gets the underlying file descriptor.