errorFromErrno

fun errorFromErrno(en: <Error class: unknown class>): IoChannelError

Converts an errno error number to a #GIOChannelError.

Return

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

Parameters

en

an errno error number, e.g. EINVAL