Gio.UnixInputStream.prototype.get_fd

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

Return the UNIX file descriptor that the stream reads from.

Since 2.20

Returns

The file descriptor of stream