IOError


Description:

public errordomain IOError

Error codes returned by GIO functions.

Note that this domain may be extended in future GLib releases. In general, new error codes either only apply to new APIs, or else replace g_io_error_failed in cases that were not explicitly distinguished before. You should therefore avoid writing code like

if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
{
// Assume that this is EPRINTERONFIRE
...
}
but should instead treat all unrecognized error codes the same as FAILED.

See also GPollableReturn for a cheaper way of returning g_io_error_would_block to callers without allocating a Error.


Namespace: GLib
Package: gio-2.0

Content:

Error codes:

Static methods: