Gio.UnixOutputStream.prototype.get_close_fd

function get_close_fd(): Boolean {
    // Gjs wrapper for g_unix_output_stream_get_close_fd()
}
  

Returns whether the file descriptor of stream will be closed when the stream is closed.

Since 2.20

Returns

true if the file descriptor is closed when done