/* Returns: Whether the channel will be closed on the final unref of the GIOChannel data structure.  */
gboolean g_io_channel_get_close_on_unref(GIOChannel *channel)
/* Returns: Whether the channel will be closed on the final unref of the GIOChannel data structure.  */
gboolean g_io_channel_get_close_on_unref(GIOChannel *channel)
{
  g_return_val_if_fail (channel != NULL, FALSE);
  return channel->close_on_unref;
}