ErrorGIO.ioErrorFromErrno

Converts errno.h error codes into GIO error codes. The fallback value %G_IO_ERROR_FAILED is returned for error codes not currently handled (but note that future GLib releases may return a more specific value instead).

struct ErrorGIO
static
ioErrorFromErrno
(
int errNo
)

Parameters

errNo int

Error number as defined in errno.h.

Return: #GIOErrorEnum value for the given errno.h error number.

Meta