## GFileDescriptorBased GFileDescriptorBased — Interface for file descriptor based IO |

## Synopsis

    #include <gio/gio.h>

                        GFileDescriptorBased;
    int                 g_file_descriptor_based_get_fd      (GFileDescriptorBased *fd_based);

## Object Hierarchy

      GInterface
       +----GFileDescriptorBased

## Prerequisites

GFileDescriptorBased requires GObject.

## Description

GFileDescriptorBased is implemented by streams (implementations of GInputStream or GOutputStream) that are based on file descriptors.

## Details

### GFileDescriptorBased

    typedef struct _GFileDescriptorBased GFileDescriptorBased;

An interface for file descriptor based io objects.

### g_file_descriptor_based_get_fd ()

    int                 g_file_descriptor_based_get_fd      (GFileDescriptorBased *fd_based);

Gets the underlying file descriptor.

`fd_based` : | a GFileDescriptorBased.
Returns : | The file descriptor

Since 2.24

## See Also

GInputStream, GOutputStream