ASYNC_WAIT_CTX_get_changed_fds

Retrieve file descriptors added to or removed from a wait context since the last poll.

Synopsis

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);

Return Value

1 on success.

Parameters

NameDescription
ctxWait context to query.
addfdArray that receives fds to add to the poll set (may be NULL to skip copying).
numaddfdsOn entry, capacity of addfd; on exit, number of fds to add.
delfdArray that receives fds to remove from the poll set (may be NULL to skip copying).
numdelfdsOn entry, capacity of delfd; on exit, number of fds to remove.