Gio.UnixOutputStream.prototype.set_close_fd

function set_close_fd(close_fd: Boolean): void {
    // Gjs wrapper for g_unix_output_stream_set_close_fd()
}
  

Sets whether the file descriptor of stream shall be closed when the stream is closed.

Since 2.20

close_fd

true to close the file descriptor when done