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 Value

a GIOChannelError error number, e.g. G_IO_CHANNEL_ERROR_INVAL.