GLib.IOChannel.get_close_on_unref (original) (raw)
GLib
API Version: 2.0
Library Version: 2.85.0
Type
Methods
Method
GLibIOChannelget_close_on_unref
Declaration [src]
gboolean
g_io_channel_get_close_on_unref (
GIOChannel* channel
)
Description [src]
Returns whether the file/socket/whatever associated with channel
will be closed when channel
receives its final unref and is destroyed. The default value of this is TRUE
for channels created by g_io_channel_new_file (), and FALSE
for all other channels.
Return value
Type: gboolean
TRUE
if the channel will be closed, FALSE
otherwise.