modify_unix_fd
Description:
Updates the event mask to watch for the file descriptor identified by tag.
The tag is the tag returned from [method@GLib.Source.add_unix_fd].
If you want to remove a file descriptor, don’t set its event mask to zero. Instead, call [method@GLib.Source.remove_unix_fd].
This API is only intended to be used by implementations of [struct@GLib.Source]. Do not call this API on a [struct@GLib.Source] that you did not create.
As the name suggests, this function is not available on Windows.
Parameters:
| this |
a source |
| tag |
the tag from [method@GLib.Source.add_unix_fd] |
| new_events |
the new event mask to watch |