Gio.FileDescriptorBased.prototype.get_fd

function get_fd(): Number(gint) {
    // Gjs wrapper for g_file_descriptor_based_get_fd()
}
  

Gets the underlying file descriptor.

Since 2.24

Returns

The file descriptor