get_event_by_fd

March 26, 2020 Contributors

Name

get_event_by_fd — Retrieve an event

Synopsis

#include "scheduler.h"

| Event * **get_event_by_fd** ( | fd); |   |

int <var class="pdparam">fd</var>;

Description

Retrieve an event using a file descriptor.

Parameters

fd

The file descriptor.

Return Values

This function returns an Event.

Threading

Warning

Only call this function from the Scheduler thread.

See Also

“Event”