Companion

object Companion : RecordCompanion<IOChannel, <Error class: unknown class>>

Functions

Link copied to clipboard

Converts an errno error number to a #GIOChannelError.

Link copied to clipboard
fun errorQuark(): <Error class: unknown class>
Link copied to clipboard
fun newFile(filename: String, mode: String): <Error class: unknown class><IOChannel>

Open a file @filename as a #GIOChannel using mode @mode. This channel will be closed when the last reference to it is dropped, so there is no need to call g_io_channel_close() (though doing so will not cause problems, as long as no attempt is made to access the channel after it is closed).

Link copied to clipboard

Creates a new #GIOChannel given a file descriptor. On UNIX systems this works for plain files, pipes, and sockets.

Link copied to clipboard
open override fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): IOChannel

Wrap a CPointer pointing to a record of this type into its wrapper class.