GLib.IOChannel.prototype.unix_get_fd

function unix_get_fd(): Number(gint) {
    // Gjs wrapper for g_io_channel_unix_get_fd()
}
  

Returns the file descriptor of the GLib.IOChannel.

On Windows this function returns the file descriptor or socket of the GLib.IOChannel.

Returns

the file descriptor of the GLib.IOChannel.