Retrieve file descriptors added to or removed from a wait context since the last poll.
Declared in <openssl/async.h>
int
ASYNC_WAIT_CTX_get_changed_fds(
ASYNC_WAIT_CTX* ctx,
int* addfd,
size_t* numaddfds,
int* delfd,
size_t* numdelfds);
1 on success.
| Name | Description |
|---|---|
| ctx | Wait context to query. |
| addfd | Array that receives fds to add to the poll set (may be NULL to skip copying). |
| numaddfds | On entry, capacity of addfd; on exit, number of fds to add. |
| delfd | Array that receives fds to remove from the poll set (may be NULL to skip copying). |
| numdelfds | On entry, capacity of delfd; on exit, number of fds to remove. |