GioUnix.InputStream.set_close_fd
Description: Reference for GioUnix.InputStream.set_close_fd

### Function

# GioUnix InputStreamset_close_fd

since: 2.20

#### Declaration [src]

    void
    g_unix_input_stream_set_close_fd (
      GUnixInputStream* stream,
      gboolean close_fd
    )

#### Description [src]

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

Available since: 2.20

#### Parameters

`stream`

  Type: `GUnixInputStream`

  A `GUnixInputStream`.

  The data is owned by the caller of the function.

`close_fd`

  Type: `gboolean`

  `TRUE` to close the file descriptor when done.