4.24 <GPollableReturn>

Enumeration: <GPollableReturn>

Return value for various IO operations that signal errors via the return value and not necessarily via a <GError>.

This enum exists to be able to return errors to callers without having to allocate a <GError>. Allocating GErrors can be quite expensive for regularly happening errors like would-block.

In case of failed a <GError> should be set for the operation to give details about the error that happened.

Members

failed

Generic error condition for when an operation fails.

ok

The operation was successfully finished.

would-block

The operation would block.