GioUnix.OutputStream.set_close_fd
Description: Reference for GioUnix.OutputStream.set_close_fd

### Function

# GioUnix OutputStreamset_close_fd

since: 2.20

#### Declaration

    void
    g_unix_output_stream_set_close_fd (
      GUnixOutputStream* stream,
      gboolean close_fd
    )

#### Description

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

Available since: 2.20

#### Parameters

`stream`

  Type: `GUnixOutputStream`

  A `GUnixOutputStream`.

  The data is owned by the caller of the function.

`close_fd`

  Type: `gboolean`

  `TRUE` to close the file descriptor when done.