Module: Gio::FileDescriptorBased

Defined in:
(unknown)

Overview

GFile::DescriptorBased is implemented by streams (implementations of GInput::Stream 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.

Instance Method Summary collapse

Instance Method Details

#fdInteger

Gets the underlying file descriptor.

Returns:

  • (Integer)

    The file descriptor

#get_fd(fd_based) ⇒ Integer

Returns The file descriptor.

Parameters:

Returns:

  • (Integer)

    The file descriptor