Source.queryUnixFd

Queries the events reported for the fd corresponding to @tag on @source during the last poll.

The return value of this function is only defined when the function is called from the check or dispatch functions for @source.

This API is only intended to be used by implementations of #GSource. Do not call this API on a #GSource that you did not create.

As the name suggests, this function is not available on Windows.

class Source
queryUnixFd
(
void* tag
)

Parameters

tag void*

the tag from g_source_add_unix_fd()

Return: the conditions reported on the fd

Meta

Since

2.36