ASYNC_WAIT_CTX_get_all_fds

Collect every wait file descriptor currently registered on ctx.

Synopsis

Declared in <openssl/async.h>

int
ASYNC_WAIT_CTX_get_all_fds(
    ASYNC_WAIT_CTX* ctx,
    int* fd,
    size_t* numfds);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxWait context to query.
fdOptional array that receives up to *numfds descriptors; may be NULL to query the count only.
numfdsOn input, capacity of fd when non-NULL; on output, the number of registered fds.