GLib.IOChannel.ref (original) (raw)

GLib

API Version: 2.0

Library Version: 2.85.1

Type

IOChannel

Methods

close flush get_buffer_condition get_buffer_size get_buffered get_close_on_unref get_encoding get_flags get_line_term init read read_chars read_line read_line_string read_to_end read_unichar ref seek seek_position set_buffer_size set_buffered set_close_on_unref set_encoding set_flags set_line_term shutdown unix_get_fd unref write write_chars write_unichar

Generated by gi-docgen 2024.1

Method

GLibIOChannelref

Declaration [src]


GIOChannel*
g_io_channel_ref (
  GIOChannel* channel
)

Description [src]

Increments the reference count of a GIOChannel.

Return value

Type: GIOChannel

The channel that was passed in (since 2.6).

The caller of the method takes ownership of the returned data, and is responsible for freeing it.