IOChannel.errorFromErrno

Converts an errno error number to a #GIOChannelError.

class IOChannel
static
errorFromErrno
(
int en
)

Parameters

en int

an errno error number, e.g. EINVAL

Return: a #GIOChannelError error number, e.g. %G_IO_CHANNEL_ERROR_INVAL.

Meta